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:19:29 +01:00 committed by GitHub
parent 8d16da796c
commit 1786502c84
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,13 +11,13 @@ 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.$date.bak
cp -a /opt/yunohost/"$app"/AdGuardHome.yaml /opt/yunohost/"$app"/AdGuardHome.yaml."$date".bak
#=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE
#=================================================
ynh_app_setting_set $app final_path $final_path
ynh_app_setting_set "$app" final_path "$final_path"
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source "$final_path"