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:
parent
3c18ee6224
commit
66302b5ff9
1 changed files with 2 additions and 1 deletions
|
@ -6,11 +6,12 @@ set -eu
|
||||||
# See comments in install script
|
# See comments in install script
|
||||||
app=$YNH_APP_INSTANCE_NAME
|
app=$YNH_APP_INSTANCE_NAME
|
||||||
final_path=/opt/yunohost/$app
|
final_path=/opt/yunohost/$app
|
||||||
|
date=$(date +%Y.%m.%d_%H-%M-%S)
|
||||||
|
|
||||||
# Source YunoHost helpers
|
# Source YunoHost helpers
|
||||||
source /usr/share/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
|
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
||||||
|
|
Loading…
Add table
Reference in a new issue