diff --git a/osx_installer/scripts2/postinstall b/osx_installer/scripts2/postinstall index 751790ea..c8551e09 100755 --- a/osx_installer/scripts2/postinstall +++ b/osx_installer/scripts2/postinstall @@ -21,19 +21,6 @@ fi /bin/launchctl load "/Library/LaunchDaemons/org.urbackup.client.plist" /bin/launchctl start "org.urbackup.client.backend" -if test ! -e "$1.silent" -then - #There is user interaction required here :( - "$2/Contents/MacOS/urbackupclientgui" register_login_item -else - for console_user in $(ps aux | grep "loginwindow" | grep -v grep | awk '{print $1;}') - do - if [ "$console_user" != "root" ] - then - sudo -u "$console_user" "$2/Contents/MacOS/urbackupclientgui" daemon - fi - done -fi /bin/launchctl load "/Library/LaunchAgents/org.urbackup.client.plist" /bin/launchctl start "org.urbackup.client.frontend"