|
|
@ -56,13 +56,13 @@ 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-7.0 > /dev/null 2>&1; then
|
|
|
|
wget -q https://packages.microsoft.com/config/debian/11/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
|
|
|
|
wget -q https://packages.microsoft.com/config/debian/11/packages-microsoft-prod.deb
|
|
|
|
dpkg -i packages-microsoft-prod.deb
|
|
|
|
dpkg -i packages-microsoft-prod.deb &>/dev/null
|
|
|
|
apt-get update
|
|
|
|
apt-get update &>/dev/null
|
|
|
|
apt-get install -y aspnetcore-runtime-7.0
|
|
|
|
apt-get install -y aspnetcore-runtime-7.0 &>/dev/null
|
|
|
|
rm packages-microsoft-prod.deb
|
|
|
|
rm packages-microsoft-prod.deb
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
$STD bash <(curl -fsSL https://download.technitium.com/dns/install.sh)
|
|
|
|
bash <(curl -fsSL https://download.technitium.com/dns/install.sh) &>/dev/null
|
|
|
|
msg_ok "Updated Successfully"
|
|
|
|
msg_ok "Updated Successfully"
|
|
|
|
exit
|
|
|
|
exit
|
|
|
|
}
|
|
|
|
}
|
|
|
|