mirror of
https://github.com/YunoHost-Apps/osjs_ynh.git
synced 2024-09-03 19:56:11 +02:00
Update upgrade
This commit is contained in:
parent
5b84e38190
commit
8162fc993f
1 changed files with 15 additions and 0 deletions
|
@ -106,6 +106,21 @@ ynh_install_nodejs --nodejs_version=$nodejs_version
|
|||
|
||||
#=================================================
|
||||
# SPECIFIC UPGRADE
|
||||
#=================================================
|
||||
# UPDATE A CONFIG FILE
|
||||
#=================================================
|
||||
ynh_script_progression --message="Updating a configuration file..."
|
||||
|
||||
ynh_add_config --template="../conf/client.config.js" --destination="$final_path/src/client/config.js"
|
||||
|
||||
chmod 400 "$final_path/src/client/config.js"
|
||||
chown $app:$app "$final_path/src/client/config.js"
|
||||
|
||||
ynh_add_config --template="../conf/server.index.js" --destination="$final_path/src/server/index.js"
|
||||
|
||||
chmod 400 "$final_path/src/server/index.js"
|
||||
chown $app:$app "$final_path/src/server/index.js"
|
||||
|
||||
#=================================================
|
||||
# BUILD APP
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue