[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[vidalia-svn] r2113: Fix the logic so that every user has Vidalia start on login. (trunk/pkg/osx)



Author: phobos
Date: 2007-11-11 08:48:34 -0500 (Sun, 11 Nov 2007)
New Revision: 2113

Modified:
   trunk/pkg/osx/TorPostFlight
Log:
Fix the logic so that every user has Vidalia start on login.


Modified: trunk/pkg/osx/TorPostFlight
===================================================================
--- trunk/pkg/osx/TorPostFlight	2007-11-11 02:55:29 UTC (rev 2112)
+++ trunk/pkg/osx/TorPostFlight	2007-11-11 13:48:34 UTC (rev 2113)
@@ -85,8 +85,7 @@
 if [ -d /Applications/Vidalia.app ]; then
   if [ -f ~/Library/Preferences/loginwindow.plist ]; then
     cp ~/Library/Preferences/loginwindow.plist ~/Library/Preferences/loginwindow.plist.tor-saved
-  else  
-    defaults write loginwindow AutoLaunchedApplicationDictionary -array-add \
-    '<dict><key>Hide</key><false/><key>Path</key><string>/Applications/Vidalia.app</string></dict>'
   fi
+  defaults write loginwindow AutoLaunchedApplicationDictionary -array-add \
+  '<dict><key>Hide</key><false/><key>Path</key><string>/Applications/Vidalia.app</string></dict>'
 fi