From 2e2ac825315d26525824e851e2f254eb096acdca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Tue, 5 Dec 2023 18:57:41 +0100 Subject: [PATCH] Update upgrade --- scripts/upgrade | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 8733b6b..cfdb001 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -35,7 +35,7 @@ then ynh_script_progression --message="Upgrading source files..." --weight=1 # Download, check integrity, uncompress and patch the source from app.src - ynh_setup_source --dest_dir="$install_dir" #--keep="ocis.env ocis.yaml" + ynh_setup_source --dest_dir="$install_dir" --keep="ocis.env ocis.yaml" fi chmod -R o-rwx "$install_dir" @@ -58,12 +58,12 @@ yunohost service add $app --description="File sharing platform" --log="/var/log/ #================================================= # ADD A CONFIGURATION #================================================= -ynh_script_progression --message="Adding a configuration file..." --weight=1 +#ynh_script_progression --message="Adding a configuration file..." --weight=1 -ynh_add_config --template=".env" --destination="$install_dir/ocis.env" +#ynh_add_config --template=".env" --destination="$install_dir/ocis.env" -chmod 400 "$install_dir/ocis.env" -chown $app:$app "$install_dir/ocis.env" +#chmod 400 "$install_dir/ocis.env" +#chown $app:$app "$install_dir/ocis.env" #================================================= # START SYSTEMD SERVICE