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

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


Author: moe
Date: 2006-02-23 21:08:13 +0000 (Thu, 23 Feb 2006)
New Revision: 18848

Modified:
   moonbase/trunk/zbeta/x11/x11-proto/xproto/POST_INSTALL
Log:
ld.so.conf manipulation doesn't work right yet .. but the other stuff should



Modified: moonbase/trunk/zbeta/x11/x11-proto/xproto/POST_INSTALL
===================================================================
--- moonbase/trunk/zbeta/x11/x11-proto/xproto/POST_INSTALL	2006-02-23 20:50:56 UTC (rev 18847)
+++ moonbase/trunk/zbeta/x11/x11-proto/xproto/POST_INSTALL	2006-02-23 21:08:13 UTC (rev 18848)
@@ -1,17 +1,13 @@
-if ! [ -d  /usr/lib/pkgconfig ]; then
-  mkdir -p /usr/lib/pkgconfig
-fi
-
 if ! grep -q /usr/X11R7/lib /etc/ld.so.conf ; then
   echo "/usr/X11R7/lib" >> /etc/ld.so.conf
   ldconfig
 fi
 
-if [ -h /usr/X11 -a $(readlink -f /usr/X11) == ${X11R7_PREFIX:-/usr/X11R7} ]; then
-  ln -s /usr/X11 ${X11R7_PREFIX:-/usr/X11R7}
+if [ -h /usr/X11 -a $(readlink -f /usr/X11) == "${X11R7_PREFIX:-/usr/X11R7}" ]; then
+  ln -s ${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 /usr/include/X11 ${X11R7_PREFIX:-/usr/X11R7/}include/X11
+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
 fi
 



More information about the Lunar-commits mailing list