mirror of
https://github.com/YunoHost-Apps/outline_ynh.git
synced 2024-09-03 19:56:12 +02:00
Update upgrade
This commit is contained in:
parent
50336bc0cc
commit
343ee4c992
1 changed files with 5 additions and 0 deletions
|
@ -85,6 +85,11 @@ ynh_system_user_create --username=$app --home_dir="$final_path"
|
||||||
|
|
||||||
if [ "$upgrade_type" == "UPGRADE_APP" ]
|
if [ "$upgrade_type" == "UPGRADE_APP" ]
|
||||||
then
|
then
|
||||||
|
ynh_script_progression --message="Cleaning up files..." --weight=1
|
||||||
|
# Void and recreate final_path
|
||||||
|
ynh_secure_remove --file="$final_path"
|
||||||
|
ynh_exec_warn_less mkdir "$final_path"
|
||||||
|
|
||||||
ynh_script_progression --message="Upgrading source files..." --weight=1
|
ynh_script_progression --message="Upgrading source files..." --weight=1
|
||||||
|
|
||||||
# Download, check integrity, uncompress and patch the source from app.src
|
# Download, check integrity, uncompress and patch the source from app.src
|
||||||
|
|
Loading…
Reference in a new issue