From 2d89c62cb6ffac77aa5b02935d5e20b57d75be17 Mon Sep 17 00:00:00 2001 From: Shreyas Zare Date: Sat, 25 Feb 2023 12:58:07 +0530 Subject: [PATCH] uinstall.sh: updated to use new install path. --- DnsServerApp/uninstall.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/DnsServerApp/uninstall.sh b/DnsServerApp/uninstall.sh index 02414c42..bbeebcac 100644 --- a/DnsServerApp/uninstall.sh +++ b/DnsServerApp/uninstall.sh @@ -1,7 +1,13 @@ #!/bin/sh dotnetDir="/opt/dotnet" -dnsDir="/etc/dns" + +if [ -d "/etc/dns/config" ] +then + dnsDir="/etc/dns" +else + dnsDir="/opt/technitium/dns" +fi echo "" echo "================================="