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

source_changes at macosforge.org source_changes at macosforge.org
Sat Jul 10 10:49:13 PDT 2010


Revision: 464
          http://trac.macosforge.org/projects/xquartz/changeset/464
Author:   jeremyhu at freedesktop.org
Date:     2010-07-10 10:49:13 -0700 (Sat, 10 Jul 2010)
Log Message:
-----------
Reload the LaunchDaemon after install

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

Modified: trunk/pkg/scripts/postinst_sl.sh
===================================================================
--- trunk/pkg/scripts/postinst_sl.sh	2010-07-01 17:17:07 UTC (rev 463)
+++ trunk/pkg/scripts/postinst_sl.sh	2010-07-10 17:49:13 UTC (rev 464)
@@ -2,6 +2,10 @@
 # Cache system fonts
 /opt/X11/bin/font_cache --force --system
 
+# Load the privileged_startx daemon
+/bin/launchctl unload -w /Library/LaunchDaemons/org.macosforge.xquartz.privileged_startx.plist
+/bin/launchctl load -w /Library/LaunchDaemons/org.macosforge.xquartz.privileged_startx.plist
+
 [[ -f /etc/paths.d/XQuartz ]] && rm /etc/paths.d/XQuartz 
 [[ -f /etc/manpaths.d/XQuartz ]] && rm /etc/manpaths.d/XQuartz 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/xquartz-changes/attachments/20100710/b7cb81a6/attachment.html>


More information about the Xquartz-changes mailing list