mirror of
https://github.com/tteck/Proxmox.git
synced 2024-11-26 08:33:17 +01:00
Update technitiumdns.sh
.NET 8 runtime
This commit is contained in:
parent
201f95fe88
commit
4021d7912a
@ -57,11 +57,11 @@ header_info
|
|||||||
if [[ ! -d /etc/dns ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
|
if [[ ! -d /etc/dns ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
|
||||||
msg_info "Updating ${APP}"
|
msg_info "Updating ${APP}"
|
||||||
|
|
||||||
if ! dpkg -s aspnetcore-runtime-7.0 > /dev/null 2>&1; then
|
if ! dpkg -s aspnetcore-runtime-8.0 > /dev/null 2>&1; then
|
||||||
wget -q https://packages.microsoft.com/config/debian/11/packages-microsoft-prod.deb
|
wget -q https://packages.microsoft.com/config/debian/12/packages-microsoft-prod.deb
|
||||||
dpkg -i packages-microsoft-prod.deb &>/dev/null
|
dpkg -i packages-microsoft-prod.deb &>/dev/null
|
||||||
apt-get update &>/dev/null
|
apt-get update &>/dev/null
|
||||||
apt-get install -y aspnetcore-runtime-7.0 &>/dev/null
|
apt-get install -y aspnetcore-runtime-8.0 &>/dev/null
|
||||||
rm packages-microsoft-prod.deb
|
rm packages-microsoft-prod.deb
|
||||||
fi
|
fi
|
||||||
bash <(curl -fsSL https://download.technitium.com/dns/install.sh) &>/dev/null
|
bash <(curl -fsSL https://download.technitium.com/dns/install.sh) &>/dev/null
|
||||||
|
Loading…
Reference in New Issue
Block a user