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

ed.spec

diff --git a/ed.spec b/ed.spec
index a30b111d2552085205fdd640ddcfb4c182d200e5..11a145315a08b88354bc86127348cf34d4700855 100644 (file)
--- a/ed.spec
+++ b/ed.spec
@@ -65,10 +65,10 @@ gzip -9nf $RPM_BUILD_ROOT{%{_mandir}/man1/*,%{_infodir}/*info*} \
        NEWS POSIX 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.069948 seconds and 4 git commands to generate.