]> git.pld-linux.org Git - packages/emacs.git/commitdiff
- invoke fix-info-dir via /sbin/postshell where possible to avoid extra /bin/sh dep auto/ti/emacs-22_1-4
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 24 Jan 2008 01:22:59 +0000 (01:22 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    emacs.spec -> 1.88

emacs.spec

index 46babf381ac4984dfe2900ee714267d3c1d6c30f..13a01e58c01aaa6276526958bb267c8b42499438 100644 (file)
@@ -518,11 +518,11 @@ rm -fr $RPM_BUILD_ROOT%{_datadir}/emacs/%{version}/lisp/erc
 %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}
 
 %triggerin nox -- emacs-X11
 if [ -L %{_bindir}/emacs ]; then
This page took 0.065263 seconds and 4 git commands to generate.