fix postinstall script

This commit is contained in:
Karsten Hopp 2005-11-23 14:26:46 +00:00
parent a8c8004d31
commit 9419d8f8c6

View File

@ -156,7 +156,7 @@ chmod -x Examples/*
rm -rf $RPM_BUILD_ROOT
%post x11
cd %{_datadir}/fonts/x3270 && %{_prefix}/X11R6/bin/mkfontdir
cd %{_datadir}/fonts/x3270 && %{_prefix}/bin/mkfontdir
/usr/sbin/chkfontpath -a /usr/share/fonts/x3270
touch --no-create %{_datadir}/icons/hicolor
if [ -x /usr/bin/gtk-update-icon-cache ]; then
@ -165,7 +165,7 @@ fi
%postun x11
if [ "$1" = "0" ]; then
cd %{_datadir}/fonts/x3270 && %{_prefix}/X11R6/bin/mkfontdir
cd %{_datadir}/fonts/x3270 && %{_prefix}/bin/mkfontdir
/usr/sbin/chkfontpath -r /usr/share/fonts/x3270
fi
touch --no-create %{_datadir}/icons/hicolor