]> git.pld-linux.org Git - packages/rpm-build-macros.git/commitdiff
- %service: skip else portion generation if -q option was used
authorElan Ruusamäe <glen@pld-linux.org>
Sat, 22 Oct 2005 19:13:44 +0000 (19:13 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm.macros -> 1.247

rpm.macros

index e5e133650b8da5d918eb6dcf6a5d1995ef340c7c..f821619d0943ad4d4a5a5235b35700044b7d7e5d 100644 (file)
@@ -795,8 +795,7 @@ if [ -f /var/lock/subsys/%1 ]; then \
        else \
                echo 'Run "/etc/rc.d/init.d/%1 %2" to %2 %{!?3:%1 service}%{?3:%(set -- %{*}; echo "$3")}.'; \
        fi \
-else \
+%{!-q:else} \
        %{!-q:echo 'Run "/etc/rc.d/init.d/%1 start" to start %{!?3:%1 service}%{?3:%(set -- %{*}; echo "$3")}.';} \
-       %{-q::;} \
 fi }; }
 
This page took 0.042029 seconds and 4 git commands to generate.