install.sh: updated to use new install path.

This commit is contained in:
Shreyas Zare
2023-02-25 12:57:48 +05:30
parent 2737d136bb
commit 19025f8e12

View File

@@ -1,8 +1,15 @@
#!/bin/sh
dotnetDir="/opt/dotnet"
if [ -d "/etc/dns/config" ]
then
dnsDir="/etc/dns"
dnsTar="/etc/dns/DnsServerPortable.tar.gz"
else
dnsDir="/opt/technitium/dns"
fi
dnsTar="$dnsDir/DnsServerPortable.tar.gz"
dnsUrl="https://download.technitium.com/dns/DnsServerPortable.tar.gz"
mkdir -p $dnsDir