[packages/guile1: 147/172] - invoke fix-info-dir via /sbin/postshell where possible to avoid extra /bin/sh dep
jajcus
jajcus at pld-linux.org
Sat Dec 12 13:51:08 CET 2015
commit 2d675e95a32fedfb139f13b20614d3fcb81f5874
Author: Elan Ruusamäe <glen at pld-linux.org>
Date: Thu Jan 24 01:36:32 2008 +0000
- invoke fix-info-dir via /sbin/postshell where possible to avoid extra /bin/sh dep
Changed files:
guile.spec -> 1.109
guile.spec | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/guile.spec b/guile.spec
index 3119cbb..1603627 100644
--- a/guile.spec
+++ b/guile.spec
@@ -187,11 +187,11 @@ rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
-%post devel
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+%post devel -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
-%postun devel
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+%postun devel -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
%files
%defattr(644,root,root,755)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/guile1.git/commitdiff/ebe6c26bec9cbe3813afc2be58f989889f8e944a
More information about the pld-cvs-commit
mailing list