mirror of
https://github.com/YunoHost-Apps/moncycle_ynh.git
synced 2024-09-03 19:46:16 +02:00
Update upgrade
This commit is contained in:
parent
d2385ded06
commit
4fbf94e43c
1 changed files with 3 additions and 1 deletions
|
@ -59,7 +59,9 @@ ynh_system_user_create --username=$app --home_dir="$final_path"
|
|||
#=================================================
|
||||
|
||||
# Remove www file
|
||||
ynh_secure_remove --file="$final_path/*"
|
||||
pushd "$final_path"
|
||||
ynh_exec_warn_less sudo -u $app rm -rf *
|
||||
popd
|
||||
|
||||
if [ "$upgrade_type" == "UPGRADE_APP" ]
|
||||
then
|
||||
|
|
Loading…
Reference in a new issue