diff options
author | Tor Lillqvist <tml@iki.fi> | 2014-02-25 16:19:00 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-02-25 16:19:37 +0200 |
commit | 84e40209e0dd7b450dd46cc2c41f57ac275910dd (patch) | |
tree | 330af9afbb10deff76a80ed2fe9d6178707f61be | |
parent | 4acf730fc314ffbf7667b0ec8cf033285f5874e4 (diff) |
The "shared" extensions are read-only in the OS X sandboxed case
Change-Id: Ie0e41ad5a5498d24a91da80dd7cc461b7fb5fa3b
-rw-r--r-- | desktop/source/deployment/manager/dp_manager.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/desktop/source/deployment/manager/dp_manager.cxx b/desktop/source/deployment/manager/dp_manager.cxx index 5bf0c91279f1..ce171594ae8b 100644 --- a/desktop/source/deployment/manager/dp_manager.cxx +++ b/desktop/source/deployment/manager/dp_manager.cxx @@ -17,6 +17,7 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#include <config_features.h> #include "dp_ucb.h" #include "dp_resource.h" @@ -358,7 +359,11 @@ Reference<deployment::XPackageManager> PackageManagerImpl::create( that->m_registrationData = "vnd.sun.star.expand:$SHARED_EXTENSIONS_USER"; that->m_registryCache = "vnd.sun.star.expand:$SHARED_EXTENSIONS_USER/registry"; logFile = "vnd.sun.star.expand:$SHARED_EXTENSIONS_USER/log.txt"; +#if !HAVE_FEATURE_MACOSX_SANDBOX + // The "shared" extensions are read-only when we have a + // read-only installset, like in the OS X sandboxed case. stamp = "$UNO_SHARED_PACKAGES_CACHE"; +#endif } else if ( context == "bundled" ) { that->m_activePackages = "vnd.sun.star.expand:$BUNDLED_EXTENSIONS"; |