]> git.pld-linux.org Git - packages/a2ps.git/blobdiff - a2ps.spec
- changed [ -x ... ] && to [ ! -x ... ] ||
[packages/a2ps.git] / a2ps.spec
index 512e13fcab47d48c047f42ee5116d1deb7e79f34..d7dcb092909b5a16abda3969240dc549b77bd467 100644 (file)
--- a/a2ps.spec
+++ b/a2ps.spec
@@ -94,11 +94,11 @@ gzip -9nf $RPM_BUILD_ROOT%{_infodir}/* \
 rm -rf $RPM_BUILD_ROOT
 
 %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
 /sbin/ldconfig
 
 %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
 /sbin/ldconfig
 
 %files -f %{name}.lang
This page took 0.089758 seconds and 4 git commands to generate.