summaryrefslogtreecommitdiff
path: root/desktop/source/deployment/manager/dp_manager.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/source/deployment/manager/dp_manager.cxx')
-rw-r--r--desktop/source/deployment/manager/dp_manager.cxx5
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";