mirror of
https://github.com/YunoHost-Apps/getsimple_ynh.git
synced 2024-09-03 18:36:25 +02:00
Update upgrade
This commit is contained in:
parent
89e7b0f435
commit
7864b9a68a
1 changed files with 6 additions and 2 deletions
|
@ -61,7 +61,7 @@ then
|
|||
ynh_script_progression --message="Upgrading source files..." --weight=5
|
||||
|
||||
# Download, check integrity, uncompress and patch the source from app.src
|
||||
ynh_setup_source --dest_dir="$final_path"
|
||||
ynh_setup_source --dest_dir="$final_path" --keep="gsconfig.php data/ backups/"
|
||||
fi
|
||||
|
||||
chmod 750 "$final_path"
|
||||
|
@ -98,7 +98,11 @@ ynh_add_nginx_config
|
|||
#=================================================
|
||||
ynh_script_progression --message="Updating a configuration file..."
|
||||
|
||||
ynh_add_config --template="../conf/temp.gsconfig.php" --destination="$final_path/temp.gsconfig.php"
|
||||
ynh_add_config --template="../conf/temp.gsconfig.php" --destination="$final_path/gsconfig.php"
|
||||
|
||||
chmod 400 "$final_path/gsconfig.php"
|
||||
chown $app:$app "$final_path/gsconfig.php"
|
||||
ynh_local_curl "/admin/support.php" "updated=2"
|
||||
|
||||
#=================================================
|
||||
# GENERIC FINALIZATION
|
||||
|
|
Loading…
Reference in a new issue