Skip to content
Snippets Groups Projects
Commit eb50640b authored by Shuai Lin's avatar Shuai Lin
Browse files

[scripts] fixed upgrade_4.3_4.4.sh

parent 7abb5bf6
Branches
Tags
No related merge requests found
......@@ -192,14 +192,6 @@ function move_old_customdir_outside() {
cp -rf "${old_customdir}" "${seahub_data_dir}/"
}
function regenerate_secret_key() {
regenerate_secret_key_script=$UPGRADE_DIR/regenerate_secret_key.sh
if ! $regenerate_secret_key_script ; then
echo "Failed to regenerate the seahub secret key"
exit 1
fi
}
#################
# The main execution flow of the script
################
......@@ -208,8 +200,6 @@ check_python_executable;
read_seafile_data_dir;
ensure_server_not_running;
regenerate_secret_key;
update_database;
migrate_avatars;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment