From 9419d8f8c68a27a4787e491ad82041bcbbe328cb Mon Sep 17 00:00:00 2001 From: Karsten Hopp Date: Wed, 23 Nov 2005 14:26:46 +0000 Subject: [PATCH] fix postinstall script --- x3270.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x3270.spec b/x3270.spec index a3c15be..8216e26 100644 --- a/x3270.spec +++ b/x3270.spec @@ -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