]> git.pld-linux.org Git - packages/cpio.git/commitdiff
- changed [ -x ... ] && to [ ! -x ... ] ||
authorSebastian Zagrodzki <sebek@zagrodzki.net>
Wed, 24 May 2000 16:50:44 +0000 (16:50 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cpio.spec -> 1.24

cpio.spec

index faefaf4257d1f77a551b6311ee8561f0f7bac50f..a1d257ccc660228a306eee50ff862a46a42ba80f 100644 (file)
--- a/cpio.spec
+++ b/cpio.spec
@@ -99,10 +99,10 @@ gzip -9nf $RPM_BUILD_ROOT{%{_infodir}/cpio*,%{_mandir}/man1/*} \
        README
 
 %post
-[ -x /usr/sbin/fix-info-dir ] && /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
 
 %postun
-[ -x /usr/sbin/fix-info-dir ] && /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.092556 seconds and 4 git commands to generate.