mirror of
https://github.com/YunoHost-Apps/send_ynh.git
synced 2024-12-21 12:15:07 +01:00
cleaning
This commit is contained in:
parent
dec5037d52
commit
e527c2abf1
@ -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
|
||||
#=================================================
|
||||
|
@ -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
|
||||
#=================================================
|
||||
|
@ -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
|
||||
#=================================================
|
||||
|
Loading…
Reference in New Issue
Block a user