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

source_changes at macosforge.org source_changes at macosforge.org
Fri Apr 6 23:04:21 PDT 2012


Revision: 621
          http://trac.macosforge.org/projects/xquartz/changeset/621
Author:   jeremyhu at freedesktop.org
Date:     2012-04-06 23:04:19 -0700 (Fri, 06 Apr 2012)
Log Message:
-----------
Provide users with more notification about needing to logout

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:52:54 UTC (rev 620)
+++ trunk/pkg/scripts/postinst_sl.sh	2012-04-07 06:04:19 UTC (rev 621)
@@ -22,4 +22,11 @@
 [[ -e /usr/X11 ]] || ln -s /opt/X11 /usr/X11
 [[ -e /usr/X11R6 ]] || ln -s /opt/X11 /usr/X11R6
 
+/usr/bin/osascript <<EOF
+        tell application "System Events"
+            activate
+            display dialog "If this is your first time installing XQuartz, you may want to log out and log back in to make it your default X11 server." buttons {"OK"}
+        end tell
+EOF
+
 exit 0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/xquartz-changes/attachments/20120406/37fda98a/attachment.html>


More information about the Xquartz-changes mailing list