From c2b52cf95fd76832b426eaf6e4099352e18f5bb4 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Thu, 3 Jun 2021 23:18:46 +0200 Subject: [PATCH] remove duplicats --- scripts/install | 12 ++++++------ scripts/upgrade | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/scripts/install b/scripts/install index 7a3e2b6..0670f06 100644 --- a/scripts/install +++ b/scripts/install @@ -190,9 +190,9 @@ secret="$(ynh_string_random)" ynh_add_config --template="../conf/secrets.yml" --destination="$final_path/config/secrets.yml" # Set permissions to app files -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" pushd "$final_path" ynh_use_ruby @@ -316,9 +316,9 @@ mkdir -p "public/forum" cd public/forum && ln -s ../uploads && ln -s ../backups ) -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" #================================================= # SETUP LOGROTATE diff --git a/scripts/upgrade b/scripts/upgrade index 0240b94..984961d 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -266,9 +266,9 @@ then ynh_add_config --template="../conf/secrets.yml" --destination="$final_path/config/secrets.yml" # Set permissions to app files - 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" pushd "$final_path" # Install bundler, a gems installer @@ -371,9 +371,9 @@ mkdir -p "$final_path/tmp/sockets" ) # Set permissions to app files -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" #================================================= # SETUP LOGROTATE