SPECS: maradns.spec - fixed usermod check - rel 2 - STBR

glen glen at pld-linux.org
Sun Jun 26 02:39:30 CEST 2005


Author: glen                         Date: Sun Jun 26 00:39:30 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fixed usermod check
- rel 2
- STBR

---- Files affected:
SPECS:
   maradns.spec (1.38 -> 1.39) 

---- Diffs:

================================================================
Index: SPECS/maradns.spec
diff -u SPECS/maradns.spec:1.38 SPECS/maradns.spec:1.39
--- SPECS/maradns.spec:1.38	Mon Jun 13 16:48:57 2005
+++ SPECS/maradns.spec	Sun Jun 26 02:39:25 2005
@@ -3,7 +3,7 @@
 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
@@ -104,7 +104,7 @@
 %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
@@ -185,6 +185,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.39  2005/06/26 00:39:25  glen
+- fixed usermod check
+- rel 2
+- STBR
+
 Revision 1.38  2005/06/13 14:48:57  undefine
 - up to 1.1.41
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/maradns.spec?r1=1.38&r2=1.39&f=u




More information about the pld-cvs-commit mailing list