summaryrefslogtreecommitdiff
path: root/desktop/source
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2013-08-24 17:53:07 +0300
committerTor Lillqvist <tml@iki.fi>2013-08-25 00:29:18 +0300
commit8492cd9f9a861e2aaa60390bffea994d6102fdb8 (patch)
tree3dd5cc324d23821132f650ab4b6588deac5cfd15 /desktop/source
parentfcdfc62f760b7e33025973a460f90023b59bad8f (diff)
The "shared" extensions are read-only when HAVE_FEATURE_READONLY_INSTALLSET
Change-Id: Ia7b9a5a297ecc3bf8eedae10ee8918b5db40a5e6
Diffstat (limited to 'desktop/source')
-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 05ff8df3033e..309b32dd04c8 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_READONLY_INSTALLSET
+ // The "shared" extensions are read-only when we have a
+ // read-only installset.
stamp = "$UNO_SHARED_PACKAGES_CACHE";
+#endif
}
else if ( context == "bundled" ) {
that->m_activePackages = "vnd.sun.star.expand:$BUNDLED_EXTENSIONS";