[Lunar-commits] r18849 - moonbase/trunk/zbeta/x11/x11-proto/xproto

Moritz Heiber moe at lunar-linux.org
Thu Feb 23 21:12:28 UTC 2006


Author: moe
Date: 2006-02-23 21:12:27 +0000 (Thu, 23 Feb 2006)
New Revision: 18849

Modified:
   moonbase/trunk/zbeta/x11/x11-proto/xproto/POST_INSTALL
Log:
SOFARANAL .. good thing, .. at times ..



Modified: moonbase/trunk/zbeta/x11/x11-proto/xproto/POST_INSTALL
===================================================================
--- moonbase/trunk/zbeta/x11/x11-proto/xproto/POST_INSTALL	2006-02-23 21:08:13 UTC (rev 18848)
+++ moonbase/trunk/zbeta/x11/x11-proto/xproto/POST_INSTALL	2006-02-23 21:12:27 UTC (rev 18849)
@@ -3,11 +3,11 @@
   ldconfig
 fi
 
-if [ -h /usr/X11 -a $(readlink -f /usr/X11) == "${X11R7_PREFIX:-/usr/X11R7}" ]; then
-  ln -s ${X11R7_PREFIX:-/usr/X11R7} /usr/X11;
+if [ -h /usr/X11 -a $(readlink -f /usr/X11) != "${X11R7_PREFIX:-/usr/X11R7}" ]; then
+  ln -sf ${X11R7_PREFIX:-/usr/X11R7} /usr/X11;
 fi
 
-if [ -h /usr/include/X11 -a ! $(readlink -f /usr/include/X11) == "${X11R7_PREFIX:-/usr/X11R7}/include/X11}" ]; then
-  ln -s ${X11R7_PREFIX:-/usr/X11R7}/include/X11 /usr/include/X11
+if [ -h /usr/include/X11 -a $(readlink -f /usr/include/X11) != "${X11R7_PREFIX:-/usr/X11R7}/include/X11}" ]; then
+  ln -sf ${X11R7_PREFIX:-/usr/X11R7}/include/X11 /usr/include/X11
 fi
 



More information about the Lunar-commits mailing list