mirror of
https://github.com/YunoHost-Apps/umami_ynh.git
synced 2024-10-01 13:34:50 +02:00
Fix removal of old files.
This commit is contained in:
parent
d9e077606d
commit
c5fa0f3495
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ ynh_systemd_action --service_name=$app --action="stop" --log_path="/var/log/$app
|
||||||
if $(ynh_compare_current_package_version --comparison le --version "2.6.2~ynh4")
|
if $(ynh_compare_current_package_version --comparison le --version "2.6.2~ynh4")
|
||||||
then
|
then
|
||||||
ynh_script_progression --message="Removing old files..." --weight=2
|
ynh_script_progression --message="Removing old files..." --weight=2
|
||||||
rm -rf "$install_dir/{*,.*}"
|
rm -rf $install_dir/{*,.*}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "$upgrade_type" == "UPGRADE_APP" || $(ynh_compare_current_package_version --comparison le --version "2.6.2~ynh4") ]]; then
|
if [[ "$upgrade_type" == "UPGRADE_APP" || $(ynh_compare_current_package_version --comparison le --version "2.6.2~ynh4") ]]; then
|
||||||
|
|
Loading…
Add table
Reference in a new issue