]> git.pld-linux.org Git - packages/maradns.git/commitdiff
- fixed usermod check
authorElan Ruusamäe <glen@pld-linux.org>
Sun, 26 Jun 2005 00:39:25 +0000 (00:39 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- rel 2
- STBR

Changed files:
    maradns.spec -> 1.39

maradns.spec

index e25639d0a7f1b1c4e098a40a487e9c26c50db91d..712e46e9b78393416aacfe8676659f2268261089 100644 (file)
@@ -2,7 +2,7 @@ Summary:        A (currently) authoritative-only DNS server made with security in mind
 Summary(pl):   Tylko autorytatywny (na razie) serwer DNS zrobiony z my¶l± o bezpieczeñstwie
 Name:          maradns
 Version:       1.1.41
-Release:       1
+Release:       2
 License:       Public Domain
 Group:         Networking/Daemons
 Source0:       http://www.maradns.org/download/1.1/%{name}-%{version}.tar.bz2
@@ -103,7 +103,7 @@ rm -rf $RPM_BUILD_ROOT
 %pre
 %groupadd -g 58 named
 # TODO: move this to trigger
-if [ -n "`/bin/id -u maradns 2>/dev/null`" -a "`/bin/id -u maradns`" = "58" ]; then
+if [ -n "`/bin/id -u maradns 2>/dev/null`" ] && [ "`/bin/id -u maradns`" = "58" ]; then
        /usr/sbin/usermod -d /tmp -l named maradns
 fi
 %useradd -u 58 -g 58 -d /tmp -s /bin/false -c "maraDNS user" named
This page took 0.052529 seconds and 4 git commands to generate.