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

Update upgrade

This commit is contained in:
liberodark 2019-11-28 10:17:34 +01:00 committed by GitHub
parent 3c18ee6224
commit 66302b5ff9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,11 +6,12 @@ set -eu
# See comments in install script
app=$YNH_APP_INSTANCE_NAME
final_path=/opt/yunohost/$app
date=$(date +%Y.%m.%d_%H-%M-%S)
# Source YunoHost helpers
source /usr/share/yunohost/helpers
#cp -a /opt/yunohost/$app/AdGuardHome.yaml /opt/yunohost/$app/AdGuardHome.yaml.bak
cp -a /opt/yunohost/$app/AdGuardHome.yaml /opt/yunohost/$app/AdGuardHome.yaml.$date.bak
#=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE