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 #=================================================