]> git.pld-linux.org Git - packages/mgetty.git/blobdiff - mgetty.spec
- invoke fix-info-dir via /sbin/postshell where possible to avoid extra /bin/sh dep
[packages/mgetty.git] / mgetty.spec
index 14776be279764ff7d6238039f9e64959aa95108c..cc53c6160c0719796556e2b7409a4ecb450d6b49 100644 (file)
@@ -317,11 +317,11 @@ rm -f $RPM_BUILD_ROOT%{_bindir}/g3topbm
 %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.079277 seconds and 4 git commands to generate.