[Xquartz-changes] [638] trunk/pkg/scripts/postinst_sl.sh
source_changes at macosforge.org
source_changes at macosforge.org
Mon Jun 4 00:56:35 PDT 2012
Revision: 638
http://trac.macosforge.org/projects/xquartz/changeset/638
Author: jeremyhu at freedesktop.org
Date: 2012-06-04 00:56:34 -0700 (Mon, 04 Jun 2012)
Log Message:
-----------
Don't show the first-time dialog if installing from the command line.
Modified Paths:
--------------
trunk/pkg/scripts/postinst_sl.sh
Modified: trunk/pkg/scripts/postinst_sl.sh
===================================================================
--- trunk/pkg/scripts/postinst_sl.sh 2012-06-02 00:50:28 UTC (rev 637)
+++ trunk/pkg/scripts/postinst_sl.sh 2012-06-04 07:56:34 UTC (rev 638)
@@ -22,7 +22,7 @@
[[ -e /usr/X11 ]] || ln -s /opt/X11 /usr/X11
[[ -e /usr/X11R6 ]] || ln -s /opt/X11 /usr/X11R6
-if [[ -e /tmp/.xquartz_first_time ]] ; then
+if [[ -z "${COMMAND_LINE_INSTALL}" && -e /tmp/.xquartz_first_time ]] ; then
/usr/bin/osascript <<EOF
tell application "System Events"
activate
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/xquartz-changes/attachments/20120604/89bd4925/attachment.html>
More information about the Xquartz-changes
mailing list