]> git.pld-linux.org Git - packages/rpm-build-macros.git/commitdiff
- changed behaviour in -n and -t in %%banner auto/ac/rpm-4_4-0_20041121_0_5
authorpzurowski <pzurowski@pld-linux.org>
Fri, 26 Nov 2004 00:57:57 +0000 (00:57 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added banner support to user_group.sh (PLEASE CHECK!)

Changed files:
    rpm.macros -> 1.177

rpm.macros

index 7ecda9b1941680a8eb1ed8d4832c1b444938ca1e..ab87e9388feadab371f61bc05420749a81e6036e 100644 (file)
@@ -493,16 +493,16 @@ fi; \
 # EOF
 # -a   - append to the banner
 # -e   - send to stderr instead of stdout
-# -n   - no show banner (overriden by -t)
-# -t   - show only, if RPM_SCRIPTVERBOSITY >= n
+# -n   - no show banner (overrides -t)
+# -t   - show only, if RPM_SCRIPTVERBOSITY >= n; default n=5
 %banner(a:e:n:t:)      \
 RPM_SCRIPTVERBOSITY=5 \
 [ -r /etc/sysconfig/rpm ] && . /etc/sysconfig/rpm \
 if [ -x /usr/bin/banner.sh ]; then \
-       CMD="/usr/bin/banner.sh %{-e:--stderr} %{!-t:%{!-n:-s}} %{-t:\`[ $RPM_SCRIPTVERBOSITY -ge %{-t*} ] && echo '-s'\`} %{!-a:-m}%{-a:-M} %1" \
+       CMD="/usr/bin/banner.sh %{-e:--stderr} %{!-n:\`[ $RPM_SCRIPTVERBOSITY -ge %{-t:%{-t*}}%{!-t:5} ] && echo '-s'\`} %{!-a:-m}%{-a:-M} %1" \
 else \
        CMD="cat%{-e: >&2}" \
 fi \
 $CMD << EOF \
 %nil
+
This page took 0.065842 seconds and 4 git commands to generate.