]> git.pld-linux.org Git - packages/apache-tomcat.git/commitdiff
- cosmetics
authorankry <ankry@pld-linux.org>
Mon, 11 Aug 2003 22:46:31 +0000 (22:46 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache-tomcat.spec -> 1.28

apache-tomcat.spec

index e352c4a6c4e30ea6b1aeb0a8e72b1ae27c4efdbc..fb0b2dab680ffefe5c8b61db3e1f69c1e40817f0 100644 (file)
@@ -63,12 +63,12 @@ Requires:   jaxp_parser_impl
 Requires:      xml-commons
 Requires:      jaas
 Requires:      mx4j >= 1.1.1
-Requires(pre): /usr/bin/getgid
-Requires(pre): /bin/id
-Requires(pre): /usr/sbin/groupadd
-Requires(pre): /usr/sbin/useradd
-Requires(postun):      /usr/sbin/userdel
-Requires(postun):      /usr/sbin/groupdel
+Requires(pre): /usr/bin/getgid
+Requires(pre): /bin/id
+Requires(pre): /usr/sbin/groupadd
+Requires(pre): /usr/sbin/useradd
+Requires(postun):      /usr/sbin/userdel
+Requires(postun):      /usr/sbin/groupdel
 Requires(post,preun):  /sbin/chkconfig
 Requires(post,postun): /sbin/ldconfig
 BuildArch:     noarch
@@ -238,20 +238,20 @@ rm -rf $RPM_BUILD_ROOT
 
 %pre
 if [ -n "`getgid http`" ]; then
-       if [ "`getgid http`" != "51" ]; then
-               echo "Error: group http doesn't have gid=51. Correct this before installing tomcat." 1>&2
-               exit 1
-       fi
+       if [ "`getgid http`" != "51" ]; then
+               echo "Error: group http doesn't have gid=51. Correct this before installing tomcat." 1>&2
+               exit 1
+       fi
 else
-       /usr/sbin/groupadd -g 51 -r -f http
+       /usr/sbin/groupadd -g 51 -r -f http
 fi
 if [ -n "`id -u http 2>/dev/null`" ]; then
-       if [ "`id -u http`" != "51" ]; then
-               echo "Error: user http doesn't have uid=51. Correct this before installing tomcat." 1>&2
-               exit 1
-       fi
+       if [ "`id -u http`" != "51" ]; then
+               echo "Error: user http doesn't have uid=51. Correct this before installing tomcat." 1>&2
+               exit 1
+       fi
 else
-       /usr/sbin/useradd -u 51 -r -d /home/services/httpd -s /bin/false -c "HTTP User" -g http http 1>&2
+       /usr/sbin/useradd -u 51 -r -d /home/services/httpd -s /bin/false -c "HTTP User" -g http http 1>&2
 fi
 
 %post
@@ -272,8 +272,8 @@ fi
 
 %postun
 if [ "$1" = "0" ]; then
-       /usr/sbin/userdel http
-       /usr/sbin/groupdel http
+       /usr/sbin/userdel http
+       /usr/sbin/groupdel http
 fi
 
 %files
This page took 0.495523 seconds and 4 git commands to generate.