]> git.pld-linux.org Git - packages/rpm.git/commitdiff
- nscd cache invalidation on %useradd/%groupadd shouldn't be treated as failure on... auto/ac/rpm-build-macros-1_319-1 auto/th/rpm-build-macros-1_319-1
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 8 Sep 2006 12:48:46 +0000 (12:48 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    rpm.macros -> 1.319

rpm.macros

index bdedde1b1d18742214c785c0fdc119240c1ebaa6..1bd798df8899b5f6e4e8e2e1827933e07c6ec25e 100644 (file)
@@ -693,7 +693,7 @@ else \
                %{-M} \\\
                %{-G:-G %{-G*}} \\\
                %{expand:%{%{#}}} 1>&2 || exit $? \
-       [ ! -x /usr/sbin/nscd ] || /usr/sbin/nscd -i passwd \
+       [ ! -x /usr/sbin/nscd ] || /usr/sbin/nscd -i passwd || : \
 fi;
 
 # Usage:
@@ -715,7 +715,7 @@ if [ -n "`/usr/bin/getgid %{1}`" ]; then \
 else \
        echo "Adding group %{1} GID=%{-g*}." \
        /usr/sbin/groupadd -g %{-g*} -r %{1} 1>&2 || exit $? \
-       [ ! -x /usr/sbin/nscd ] || /usr/sbin/nscd -i group \
+       [ ! -x /usr/sbin/nscd ] || /usr/sbin/nscd -i group || : \
 fi;
 
 # apache_config_{install/uninstall} macros written by glen@pld-linux.org.
This page took 0.174208 seconds and 4 git commands to generate.