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

Samuel Verstraete elangelo at lunar-linux.org
Thu Feb 23 20:24:56 UTC 2006


Author: elangelo
Date: 2006-02-23 20:24:52 +0000 (Thu, 23 Feb 2006)
New Revision: 18843

Added:
   moonbase/trunk/zbeta/x11/x11-proto/xproto/POST_INSTALL
Log:
yes this doesn't work but i'm a moron and sofar and Moe were sure it was like that
gr,S.


Added: moonbase/trunk/zbeta/x11/x11-proto/xproto/POST_INSTALL
===================================================================
--- moonbase/trunk/zbeta/x11/x11-proto/xproto/POST_INSTALL	2006-02-23 16:25:30 UTC (rev 18842)
+++ moonbase/trunk/zbeta/x11/x11-proto/xproto/POST_INSTALL	2006-02-23 20:24:52 UTC (rev 18843)
@@ -0,0 +1,16 @@
+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
+
+message "Running fc-cache..." &&
+/usr/bin/fc-cache -f 
+
+if [ -h /usr/X11 -a $(readlink -f /usr/X11) == ${X11R7_PREFIX:-/usr/X11R7} ]; then
+  ln -s /usr/X11 /usr/X11R7
+fi
+



More information about the Lunar-commits mailing list