[Xquartz-changes] [620] trunk/pkg/scripts/postinst_sl.sh

source_changes at macosforge.org source_changes at macosforge.org
Fri Mar 30 19:52:54 PDT 2012


Revision: 620
          http://trac.macosforge.org/projects/xquartz/changeset/620
Author:   jeremyhu at freedesktop.org
Date:     2012-03-30 19:52:54 -0700 (Fri, 30 Mar 2012)
Log Message:
-----------
Install symlinks to /usr if there are none

Modified Paths:
--------------
    trunk/pkg/scripts/postinst_sl.sh

Modified: trunk/pkg/scripts/postinst_sl.sh
===================================================================
--- trunk/pkg/scripts/postinst_sl.sh	2012-03-31 02:51:34 UTC (rev 619)
+++ trunk/pkg/scripts/postinst_sl.sh	2012-03-31 02:52:54 UTC (rev 620)
@@ -19,4 +19,7 @@
 # Hook for the system X11 if it wants to do something after XQuartz installs
 [[ -x /usr/X11/libexec/xquartz_postinst.sh ]] && /usr/X11/libexec/xquartz_postinst.sh
 
+[[ -e /usr/X11 ]] || ln -s /opt/X11 /usr/X11
+[[ -e /usr/X11R6 ]] || ln -s /opt/X11 /usr/X11R6
+
 exit 0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/xquartz-changes/attachments/20120330/2b567396/attachment.html>


More information about the Xquartz-changes mailing list