diff options
author | Dominik Schmidt <dev@dominik-schmidt.de> | 2018-09-27 21:08:48 +0300 |
---|---|---|
committer | Markus Goetz <markus@woboq.com> | 2018-10-12 20:40:18 +0300 |
commit | 9db9f583b97e2391c9b5378ef392a7583babe32e (patch) | |
tree | 6186ccd5c7380181bed64a715820063cf457616c /admin | |
parent | 47c7f3f92141ca756fba955a69905682030b2a97 (diff) |
Do not select ownCloud in Finder after installation to fix #6781
Diffstat (limited to 'admin')
-rw-r--r-- | admin/osx/post_install.sh.cmake | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/admin/osx/post_install.sh.cmake b/admin/osx/post_install.sh.cmake index 0cbbee2ff..55d5e1c1d 100644 --- a/admin/osx/post_install.sh.cmake +++ b/admin/osx/post_install.sh.cmake @@ -1,17 +1,5 @@ #!/bin/sh -# Check if Finder is running (for systems with Finder disabled) -finder_status=`ps aux | grep "/System/Library/CoreServices/Finder.app/Contents/MacOS/Finder" | grep -v "grep"` -if ! [ "$finder_status" == "" ] ; then # Finder is running - osascript << EOF -tell application "Finder" - activate - select the last Finder window - reveal POSIX file "/Applications/@APPLICATION_EXECUTABLE@.app" -end tell -EOF -fi - # Always enable the new 10.10 finder plugin if available if [ -x "$(command -v pluginkit)" ]; then # add it to DB. This happens automatically too but we try to push it a bit harder for issue #3463 |