diff --git a/scripts/install b/scripts/install index 8941a8c..056a1a5 100644 --- a/scripts/install +++ b/scripts/install @@ -25,8 +25,6 @@ ynh_script_progression "Setting up source files..." ynh_setup_source --dest_dir="$install_dir" -#chmod -R o-rwx "$install_dir" -#chown -R "$app:www-data" "$install_dir" chmod +x "$install_dir/server/bin/prod.js" #================================================= @@ -47,11 +45,6 @@ ynh_script_progression "Adding $app's configuration..." ynh_config_add --template="config.js" --destination="$install_dir/server/config.js" -#chmod 400 "$install_dir/server/config.js" -#chown "$app:" "$install_dir/server/config.js" - -#================================================= -# SPECIFIC SETUP #================================================= # BUILD APP #================================================= diff --git a/scripts/restore b/scripts/restore index d787dc8..a8a434e 100644 --- a/scripts/restore +++ b/scripts/restore @@ -10,12 +10,8 @@ ynh_script_progression "Restoring the app main directory..." ynh_restore "$install_dir" -#chmod -R o-rwx "$install_dir" -#chown -R "$app:www-data" "$install_dir" chmod +x "$install_dir/server/bin/prod.js" -#================================================= -# SPECIFIC RESTORATION #================================================= # REINSTALL DEPENDENCIES #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 326aab4..2aba8b3 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -24,8 +24,6 @@ ynh_script_progression "Upgrading source files..." ynh_setup_source --dest_dir="$install_dir" --keep="server/config.js" --full_replace -#chmod -R o-rwx "$install_dir" -#chown -R "$app:www-data" "$install_dir" chmod +x "$install_dir/server/bin/prod.js" #================================================= @@ -53,9 +51,6 @@ ynh_script_progression "Updating configuration..." ynh_config_add --template="config.js" --destination="$install_dir/server/config.js" -#chmod 400 "$install_dir/server/config.js" -#chown "$app:" "$install_dir/server/config.js" - #================================================= # BUILD APP #=================================================