mirror of
https://github.com/YunoHost-Apps/send_ynh.git
synced 2025-11-04 15:55:29 +01:00
cleaning
This commit is contained in:
@@ -43,7 +43,7 @@ yunohost service add "$app" --description="Simple, private file sharing" --log="
|
||||
#=================================================
|
||||
ynh_script_progression "Adding $app's configuration..."
|
||||
|
||||
ynh_config_add --template="config.js" --destination="$install_dir/server/config.js"
|
||||
ynh_config_add --template=".env" --destination="$install_dir/.env"
|
||||
|
||||
#=================================================
|
||||
# BUILD APP
|
||||
|
||||
@@ -22,7 +22,7 @@ ynh_config_remove_logrotate
|
||||
#=================================================
|
||||
ynh_script_progression "Upgrading source files..."
|
||||
|
||||
ynh_setup_source --dest_dir="$install_dir" --keep="server/config.js" --full_replace
|
||||
ynh_setup_source --dest_dir="$install_dir" --keep=".env" --full_replace
|
||||
|
||||
chmod +x "$install_dir/server/bin/prod.js"
|
||||
|
||||
@@ -49,7 +49,7 @@ yunohost service add "$app" --description="Simple, private file sharing" --log="
|
||||
#=================================================
|
||||
ynh_script_progression "Updating configuration..."
|
||||
|
||||
ynh_config_add --template="config.js" --destination="$install_dir/server/config.js"
|
||||
ynh_config_add --template=".env" --destination="$install_dir/.env"
|
||||
|
||||
#=================================================
|
||||
# BUILD APP
|
||||
|
||||
Reference in New Issue
Block a user