mirror of
https://github.com/mail-in-a-box/mailinabox.git
synced 2024-11-26 02:57:04 +00:00
tweak @randallsquared's workaround for the nsd package's brokenness
This commit is contained in:
parent
c7e1e29ddf
commit
1c02803b50
@ -11,12 +11,15 @@
|
|||||||
|
|
||||||
# ...but first, we have to create the user because the
|
# ...but first, we have to create the user because the
|
||||||
# current Ubuntu forgets to do so in the .deb
|
# 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
|
if id nsd > /dev/null 2>&1; then
|
||||||
echo "nsd user exists... good";
|
true; #echo "nsd user exists... good";
|
||||||
else
|
else
|
||||||
useradd nsd;
|
useradd nsd;
|
||||||
if
|
fi
|
||||||
|
|
||||||
|
# Okay now install the package.
|
||||||
|
|
||||||
apt-get -qq -y install nsd
|
apt-get -qq -y install nsd
|
||||||
|
|
||||||
# Prepare nsd's configuration.
|
# Prepare nsd's configuration.
|
||||||
|
Loading…
Reference in New Issue
Block a user