Technitium DNS: Fix update (#8980)

* Fix update

* Update technitiumdns-install.sh
This commit is contained in:
Slaviša Arežina
2025-11-08 18:26:19 +01:00
committed by Michel Roegl-Brunner
parent f212a7525b
commit 33d7d91789
2 changed files with 9 additions and 9 deletions

View File

@@ -28,6 +28,11 @@ function update_script() {
exit
fi
if is_package_installed "aspnetcore-runtime-8.0"; then
$STD apt remove -y aspnetcore-runtime-8.0
$STD apt install -y aspnetcore-runtime-9.0
fi
RELEASE=$(curl -fsSL https://technitium.com/dns/ | grep -oP 'Version \K[\d.]+')
if [[ ! -f ~/.technitium || "${RELEASE}" != "$(cat ~/.technitium)" ]]; then
msg_info "Updating Technitium DNS"