1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pihole_ynh.git synced 2024-09-03 20:05:58 +02:00

Fix change url

This commit is contained in:
Maniack Crudelis 2017-12-01 21:32:32 +01:00
parent aa1a3dd060
commit 9123b4c586

View file

@ -47,20 +47,11 @@ then
fi fi
#================================================= #=================================================
# BACKUP BEFORE UPGRADE THEN ACTIVE TRAP # MANAGE FAILURE OF THE SCRIPT
#================================================= #=================================================
if [ $change_domain -eq 0 ]
then
# Backup the current version of the app
ynh_backup_before_upgrade
ynh_clean_setup () {
# restore it if the upgrade fails
ynh_restore_upgradebackup
}
# Exit if an error occurs during the execution of the script # Exit if an error occurs during the execution of the script
ynh_abort_if_errors ynh_abort_if_errors
fi
#================================================= #=================================================
# STANDARD MODIFICATIONS # STANDARD MODIFICATIONS