[Pkg-owncloud-commits] [owncloud-client] 395/498: shell_i: Activate the finder integration on install #3463
Sandro Knauß
hefee-guest at moszumanska.debian.org
Tue Aug 11 14:49:10 UTC 2015
This is an automated email from the git hooks/post-receive script.
hefee-guest pushed a commit to branch master
in repository owncloud-client.
commit ed51358478c92ffe3790f8be576a87287ef82faf
Author: Jocelyn Turcotte <jturcotte at woboq.com>
Date: Tue Jul 28 17:57:55 2015 +0200
shell_i: Activate the finder integration on install #3463
This makes sure that users won't have to go into settings
to activate the extension. This might upset users by forcing
them to re-disable it on each oC upgrade, but if this becomes
an issue we should then make this configurable in the client's
settings itself.
---
admin/osx/macosx.pkgproj | 4 ++--
admin/osx/post_install.sh.cmake | 5 +++++
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/admin/osx/macosx.pkgproj b/admin/osx/macosx.pkgproj
index e68ed3a..5c936a8 100644
--- a/admin/osx/macosx.pkgproj
+++ b/admin/osx/macosx.pkgproj
@@ -1021,11 +1021,11 @@
<key>CONCLUSION_ACTION</key>
<integer>0</integer>
<key>IDENTIFIER</key>
- <string>com.owncCloud.finderPlugin</string>
+ <string>com.ownCloud.finderPlugin</string>
<key>LOCATION</key>
<integer>0</integer>
<key>NAME</key>
- <string>Finder Plugin</string>
+ <string>Legacy Finder Plugin (OS X 10.9 or older)</string>
<key>OVERWRITE_PERMISSIONS</key>
<false/>
<key>VERSION</key>
diff --git a/admin/osx/post_install.sh.cmake b/admin/osx/post_install.sh.cmake
index 2948a80..a6a55e6 100644
--- a/admin/osx/post_install.sh.cmake
+++ b/admin/osx/post_install.sh.cmake
@@ -8,4 +8,9 @@ tell application "Finder"
end tell
EOF
+# Always enable the new 10.10 finder plugin if available
+if [ -x "$(command -v pluginkit)" ]; then
+ pluginkit -e use -i com.owncloud.desktopclient.FinderSyncExt
+fi
+
exit 0
\ No newline at end of file
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git
More information about the Pkg-owncloud-commits
mailing list