]> git.pld-linux.org Git - packages/postfix.git/commitdiff
- added pcre-devel to BuildRequires, postfix-19991231_pl04-1
authorkloczek <kloczek@pld-linux.org>
Fri, 3 Mar 2000 00:18:03 +0000 (00:18 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- "-f" instead "-r" in test parameters on checking is postfix is runed in %post.

Changed files:
    postfix.spec -> 1.29

postfix.spec

index a9776c13498f23cd81580ba5046a9cdf2c902576..0b36ceb9018c3a8282e23115b32aec7a7244d514 100644 (file)
@@ -24,6 +24,7 @@ Provides:     smtpdaemon
 Requires:      rc-scripts
 BuildRequires: openldap-devel
 BuildRequires: openssl-devel >= 0.9.4-2
+BuildRequires: pcre-devel
 BuildRequires: grep
 Obsoletes:     smtpdaemon
 Obsoletes:     sendmail
@@ -153,14 +154,14 @@ fi
 
 newaliases
 /sbin/chkconfig --add postfix
-if [ -r /var/lock/subsys/postfix ]; then
+if [ -f /var/lock/subsys/postfix ]; then
        /etc/rc.d/init.d/postfix restart >&2
 else
        echo "Run \"/etc/rc.d/init.d/postfix start\" to start postfix daemon." >&2
 fi
 
 %preun
-if [ $1 = 0 ]; then
+if [ "$1" = "0" ]; then
        if [ -f /var/lock/subsys/postfix ]; then
                /etc/rc.d/init.d/postfix stop >&2
        fi
This page took 0.163507 seconds and 4 git commands to generate.