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