devel/x3270 x3270.spec,1.14,1.15

Karsten Hopp (karsten) fedora-extras-commits at redhat.com
Wed Nov 23 14:26:49 UTC 2005


Author: karsten

Update of /cvs/extras/devel/x3270
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv26210

Modified Files:
	x3270.spec 
Log Message:
fix postinstall script


Index: x3270.spec
===================================================================
RCS file: /cvs/extras/devel/x3270/x3270.spec,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- x3270.spec	23 Nov 2005 14:21:01 -0000	1.14
+++ x3270.spec	23 Nov 2005 14:26:46 -0000	1.15
@@ -156,7 +156,7 @@
 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 @@
 
 %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




More information about the fedora-extras-commits mailing list