mirror of
https://github.com/munki/munki.git
synced 2026-04-20 03:30:42 -05:00
Log out and install button triggers a logout instead of a restart; it's now up to ManagedInstaller to do the right thing.
git-svn-id: http://munki.googlecode.com/svn/trunk@68 a4e17f2e-e282-11dd-95e1-755cbddbdd66
This commit is contained in:
@@ -137,11 +137,8 @@ end selection changed
|
||||
|
||||
on alert ended theObject with reply withReply
|
||||
if button returned of withReply is "Log out and install" then
|
||||
-- trigger ManagedInstaller
|
||||
-- we just tell the OS to restart; the logout hook
|
||||
-- should kick in for the install
|
||||
tell application "System Events"
|
||||
restart
|
||||
log out
|
||||
end tell
|
||||
quit
|
||||
end if
|
||||
|
||||
Reference in New Issue
Block a user