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
eaaae5720c
commit
7536514349
1 changed files with 8 additions and 2 deletions
|
@ -18,8 +18,14 @@ cp -a /opt/yunohost/"$app"/AdGuardHome.yaml /opt/yunohost/"$app"/AdGuardHome.yam
|
|||
#=================================================
|
||||
|
||||
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"
|
||||
|
||||
# Download, check integrity, uncompress and patch the source from app-[arch].src
|
||||
case $(uname -m) in
|
||||
x86_64) ynh_setup_source "$final_path" "app-amd64" ;;
|
||||
aarch64) ynh_setup_source "$final_path" "app-arm64" ;;
|
||||
armv7l) ynh_setup_source "$final_path" "app-arm" ;;
|
||||
*) ynh_die "Unknown arch" ;;
|
||||
esac
|
||||
|
||||
#=================================================
|
||||
# NGINX CONFIGURATION
|
||||
|
|
Loading…
Reference in a new issue