]> git.pld-linux.org Git - packages/aspseek.git/commitdiff
cosmetics
authorankry <ankry@pld-linux.org>
Mon, 11 Aug 2003 20:44:52 +0000 (20:44 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    aspseek.spec -> 1.20

aspseek.spec

index dd0bc2890ac32dde2259c00dee34c8624f126170..fb47a7dd4422a37ad9a126e9ef92024ec0e42c7c 100644 (file)
@@ -20,9 +20,9 @@ BuildRequires:        openssl-devel >= 0.9.7
 BuildRequires: mysql-devel
 BuildRequires: libstdc++-devel
 BuildRequires: zlib-devel
-Requires(pre): /bin/id
-Requires(pre): /usr/sbin/useradd
-Requires(postun):      /usr/sbin/userdel
+Requires(pre): /bin/id
+Requires(pre): /usr/sbin/useradd
+Requires(postun):      /usr/sbin/userdel
 Requires(post):        fileutils
 Requires(post,preun):  /sbin/chkconfig
 Requires(post,postun): /sbin/ldconfig
@@ -140,12 +140,12 @@ rm -rf $RPM_BUILD_ROOT
 
 %pre
 if [ -n "`id -u aspseek 2>/dev/null`" ]; then
-       if [ "`id -u aspseek`" != "50" ]; then
-               echo "Error: user aspseek doesn't have uid=50. Correct this before installing aspseek." 1>&2
-               exit 1
-       fi
+       if [ "`id -u aspseek`" != "50" ]; then
+               echo "Error: user aspseek doesn't have uid=50. Correct this before installing aspseek." 1>&2
+               exit 1
+       fi
 else
-       /usr/sbin/useradd -u 50 -r -d /home/services/aspseek -s /bin/false -c "ASPSEEK User" -g root aspseek 1>&2
+       /usr/sbin/useradd -u 50 -r -d /home/services/aspseek -s /bin/false -c "ASPSEEK User" -g root aspseek 1>&2
 fi
 
 %post
@@ -156,16 +156,16 @@ chown aspseek:root /var/log/aspseek.log
 
 %preun
 if [ "$1" = "0" ]; then
-        if [ -f /var/lock/subsys/%{name} ]; then
-                /etc/rc.d/init.d/%{name} stop 1>&2
-        fi
-        /sbin/chkconfig --del %{name}
+       if [ -f /var/lock/subsys/%{name} ]; then
+               /etc/rc.d/init.d/%{name} stop 1>&2
+       fi
+       /sbin/chkconfig --del %{name}
 fi
 
 %postun
 /sbin/ldconfig
 if [ "$1" = "0" ]; then
-       /usr/sbin/userdel aspseek
+       /usr/sbin/userdel aspseek
 fi
 
 %post db-mysql
This page took 0.137713 seconds and 4 git commands to generate.