From 1c02803b50033f1fe3840fd724435d9d8032dc09 Mon Sep 17 00:00:00 2001 From: Joshua Tauberer Date: Wed, 23 Apr 2014 18:40:33 -0400 Subject: [PATCH] tweak @randallsquared's workaround for the nsd package's brokenness --- scripts/dns.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/scripts/dns.sh b/scripts/dns.sh index 14f10b2f..4244cbcd 100644 --- a/scripts/dns.sh +++ b/scripts/dns.sh @@ -11,12 +11,15 @@ # ...but first, we have to create the user because the # current Ubuntu forgets to do so in the .deb +# see issue #25 and https://bugs.launchpad.net/ubuntu/+source/nsd/+bug/1311886 if id nsd > /dev/null 2>&1; then - echo "nsd user exists... good"; + true; #echo "nsd user exists... good"; else useradd nsd; -if - +fi + +# Okay now install the package. + apt-get -qq -y install nsd # Prepare nsd's configuration.