]> git.pld-linux.org Git - packages/cvsbook.git/blobdiff - cvsbook.spec
- invoke fix-info-dir via /sbin/postshell where possible to avoid extra /bin/sh dep
[packages/cvsbook.git] / cvsbook.spec
index 6eee41098eb5cdcfc56b415463e0efc7480610a8..99e391329942179e324014af13263a6bef5ca9fe 100644 (file)
@@ -41,11 +41,11 @@ install cvsbook.info $RPM_BUILD_ROOT%{_infodir}
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+%post  -p      /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
-%postun
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+%postun        -p      /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
 
 %files
 %defattr(644,root,root,755)
This page took 0.058619 seconds and 4 git commands to generate.