[Lunar-commits] r18851 - moonbase/trunk/zbeta/x11/x11-proto/xproto
Moritz Heiber
moe at lunar-linux.org
Thu Feb 23 21:17:14 UTC 2006
Author: moe
Date: 2006-02-23 21:17:14 +0000 (Thu, 23 Feb 2006)
New Revision: 18851
Modified:
moonbase/trunk/zbeta/x11/x11-proto/xproto/POST_INSTALL
Log:
More quotes .. more sofar
Modified: moonbase/trunk/zbeta/x11/x11-proto/xproto/POST_INSTALL
===================================================================
--- moonbase/trunk/zbeta/x11/x11-proto/xproto/POST_INSTALL 2006-02-23 21:14:08 UTC (rev 18850)
+++ moonbase/trunk/zbeta/x11/x11-proto/xproto/POST_INSTALL 2006-02-23 21:17:14 UTC (rev 18851)
@@ -1,13 +1,13 @@
-if ! grep -q /usr/X11R7/lib /etc/ld.so.conf ; then
- echo "/usr/X11R7/lib" >> /etc/ld.so.conf
+if ! grep -q "${X11R7_PREFIX:-/usr/X11R7}/lib" /etc/ld.so.conf ; then
+ echo "${X11R7_PREFIX:-/usr/X11R7}/lib" >> /etc/ld.so.conf;
ldconfig
-fi
+fi &&
if [ -h /usr/X11 -a $(readlink -f /usr/X11) != "${X11R7_PREFIX:-/usr/X11R7}" ]; then
- ln -sf ${X11R7_PREFIX:-/usr/X11R7} /usr/X11;
-fi
+ 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 -sf ${X11R7_PREFIX:-/usr/X11R7}/include/X11 /usr/include/X11
+ ln -sf "${X11R7_PREFIX:-/usr/X11R7}/include/X11" /usr/include/X11;
fi
More information about the Lunar-commits
mailing list