summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Zagrodzki2000-05-27 10:39:13 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commitabb206a6f7e251611a063e6a6dab9af9cad7d58d (patch)
treec24b4a6966a42ae902a11a91e3907bbfcd5df2fb
parenta9d34cdaf0e7fd91d0b76b2935a54158028b780e (diff)
downloadbind-bind-8_2_2_P5-15.zip
bind-bind-8_2_2_P5-15.tar.gz
- >/dev/null 2>&1 at "id" execution in %postbind-8_2_2_P5-15
- release++ Changed files: bind.spec -> 1.58
-rw-r--r--bind.spec6
1 files changed, 3 insertions, 3 deletions
diff --git a/bind.spec b/bind.spec
index d217c66..0f014f9 100644
--- a/bind.spec
+++ b/bind.spec
@@ -5,7 +5,7 @@ Summary(pl): BIND - serwer nazw DNS
Summary(tr): DNS alan adư sunucusu
Name: bind
Version: 8.2.2_P5
-Release: 14
+Release: 15
Copyright: distributable
Group: Networking/Daemons
Group(pl): Sieciowe/Serwery
@@ -240,10 +240,10 @@ if [ -f /etc/named.boot ]; then
mv -f /etc/named.boot /etc/named.rpmsave
echo "Warrnig: /etc/named.boot saved as /etc/named.rpmsave" 1>&2
fi
-if ! id -g named; then
+if ! id -g named > /dev/null 2>&1 ; then
%{_sbindir}/groupadd -g 58 named
fi
-if ! id -u named; then
+if ! id -u named > /dev/null 2>&1 ; then
%{_sbindir}/useradd -u 58 -g 58 -d /dev/null -s /bin/false -c "BIND user" named
fi
%{_bindir}/update-db