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

wget.spec

index 4204f2740aaa6e1dd8c13986b68610745a7c84bd..e3671674f0db0ee5089b84f6cda43dd6311c88ee 100644 (file)
--- a/wget.spec
+++ b/wget.spec
@@ -88,10 +88,10 @@ gzip -9nf $RPM_BUILD_ROOT{%{_infodir}/%{name}.info*,%{_mandir}/man1/*} \
 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
 
 %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
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
This page took 0.080127 seconds and 4 git commands to generate.