From 4422338b7fca799858728b1f8731283f8d4dee28 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Fri, 23 Jul 2021 23:45:43 +0200 Subject: [PATCH] Fix --- scripts/install | 4 ---- scripts/upgrade | 8 -------- 2 files changed, 12 deletions(-) diff --git a/scripts/install b/scripts/install index 8078c47..073eedf 100755 --- a/scripts/install +++ b/scripts/install @@ -93,10 +93,6 @@ ynh_app_setting_set --app=$app --key=final_path --value=$final_path git clone -b $tag --depth 1 https://github.com/firefly-iii/firefly-iii.git $final_path -chmod 750 "$final_path" -chmod -R o-rwx "$final_path" -chown -R $app:www-data "$final_path" - chmod 750 "$final_path" chmod -R o-rwx "$final_path" chown -R $app:www-data "$final_path" diff --git a/scripts/upgrade b/scripts/upgrade index fad730b..dfebe20 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -79,14 +79,6 @@ ynh_script_progression --message="Making sure dedicated system user exists..." # Create a dedicated user (if not existing) ynh_system_user_create --username=$app --home_dir="$final_path" -#================================================= -# CREATE DEDICATED USER -#================================================= -ynh_script_progression --message="Making sure dedicated system user exists..." - -# Create a dedicated user (if not existing) -ynh_system_user_create --username=$app --home_dir="$final_path" - #================================================= # STANDARD UPGRADE STEPS #=================================================