From b6d741346f7d85047e9bfce5434790b63cf7971a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Tue, 14 Mar 2023 21:06:18 +0100 Subject: [PATCH] cleaning --- scripts/install | 1 - scripts/remove | 4 ++-- scripts/upgrade | 1 - 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/scripts/install b/scripts/install index 1b690e5..e391e14 100644 --- a/scripts/install +++ b/scripts/install @@ -25,7 +25,6 @@ ynh_script_progression --message="Setting up source files..." --weight=4 # Download, check integrity, uncompress and patch the source from app.src ynh_setup_source --dest_dir=$install_dir -chmod 750 "$install_dir" chmod -R o-rwx "$install_dir" chown -R $app:www-data "$install_dir" diff --git a/scripts/remove b/scripts/remove index 4f8678f..899d403 100644 --- a/scripts/remove +++ b/scripts/remove @@ -15,7 +15,7 @@ source /usr/share/yunohost/helpers # REMOVE SERVICE INTEGRATION IN YUNOHOST #================================================= -# Remove the service from the list of services known by Yunohost (added from `yunohost service add`) +# Remove the service from the list of services known by YunoHost (added from `yunohost service add`) if ynh_exec_warn_less yunohost service status $app >/dev/null then ynh_script_progression --message="Removing $app service..." --weight=2 @@ -33,7 +33,7 @@ ynh_remove_systemd_config #================================================= # REMOVE DEPENDENCIES #================================================= -#REMOVEME? ynh_script_progression --message="Removing dependencies..." --weight=1 +ynh_script_progression --message="Removing dependencies..." --weight=1 # Remove NodeJS ynh_remove_nodejs diff --git a/scripts/upgrade b/scripts/upgrade index 3271984..2ef000b 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -38,7 +38,6 @@ fi chmod -R o-rwx "$install_dir" chown -R $app:www-data "$install_dir" -chown -R $app:www-data $data_dir #================================================= # NGINX CONFIGURATION