From a7b6c571478bf62dab3dd8869b15b30cb7398280 Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Sat, 31 Aug 2024 08:40:49 +0200 Subject: [PATCH] Update upgrade --- scripts/upgrade | 9 --------- 1 file changed, 9 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 0e27bf8..b01404b 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -28,13 +28,6 @@ ynh_systemctl --action="stop" --service="${app}" ynh_systemctl --action="stop" --service="${app}_workers" -#================================================= -# INSTALL DEPENDENCIES -#================================================= -ynh_script_progression "Installing dependencies..." - -#REMOVEME? Assuming the install dir is setup using ynh_setup_source, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chmod -R o-rwx "$install_dir" -#REMOVEME? Assuming the install dir is setup using ynh_setup_source, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chown -R $app: "$install_dir" #================================================= # CONFIGURE THE INSTALL SCRIPT #================================================= @@ -42,8 +35,6 @@ ynh_script_progression "Installing service script..." redis_db=$(ynh_redis_get_free_db) ynh_config_add --template=".env.production" --destination="$install_dir/.env" -#REMOVEME? Assuming the file is setup using ynh_config_add, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chmod 400 $install_dir/.env -#REMOVEME? Assuming the file is setup using ynh_config_add, the proper chmod/chowns are now already applied and it shouldn't be necessary to tweak perms | chown $app: "$install_dir/.env" #================================================= # INSTALL PYTHON DEPENDENCIES