diff --git a/install.sh b/install.sh index 0374393..bda536d 100755 --- a/install.sh +++ b/install.sh @@ -5,7 +5,7 @@ # Copyright (c) 2024 Matthew Saunders Brown # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) -if [[ ! -f /usr/local/etc/pdns.conf ]]; then +if [[ ! -f /usr/local/sbin/pdns.sh ]] || [[ ! -f /usr/local/etc/pdns.conf ]]; then echo "powerdns-tools must be installed and configured first." echo "See https://git.stack-source.com/msb/powerdns-tools" exit