1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/zwave-js-ui_ynh.git synced 2024-09-03 18:06:00 +02:00

remove swap file

This commit is contained in:
Krakinou 2022-11-26 16:46:42 +01:00
parent 0668ef1136
commit 61d06b9dd9

View file

@ -64,6 +64,16 @@ ynh_script_progression --message="Removing app main directory..." --weight=1
# Remove the app directory securely
ynh_secure_remove --file="$final_path"
#=================================================
# REMOVE ADDITIONNAL SWAP
#=================================================
#In case install or upgrade went wrong, remove script is launched, so we need to ensure additional swap is deleted
if [ -e /swap_$app ]; then
ynh_script_progression --message="Remove additionnal swap..." --weight=2
ynh_del_swap
fi
#=================================================
# REMOVE NGINX CONFIGURATION
#=================================================