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

Update install

This commit is contained in:
liberodark 2020-01-17 13:49:23 +01:00 committed by GitHub
parent ce67f7a931
commit ea02ed7433
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -90,9 +90,14 @@ port=$(ynh_find_port 53)
# DOWNLOAD, CHECK AND UNPACK SOURCE
#=================================================
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"
ynh_app_setting_set $app final_path $final_path
# Download, check integrity, uncompress and patch the source from jellyfin-[arch].src
case `uname -m` in
x86_64) ynh_setup_source "$final_path" "app-amd64" ;;
aarch64) ynh_setup_source "$final_path" "app-arm64" ;;
*) ynh_die "Unknown arch" ;;
esac
#=================================================
# GENERATE PASSWORD