summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2014-06-12 18:00:42 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-06-13 06:33:11 +0000
commit38b03fbe3f28209daaefe769f27166d3af133cab (patch)
tree0cb252b184e5743a97bd27fc9c3b05bbe2ff7e7b /desktop
parent12e356bb7cfd34bb5a965984c06c7725f248fff9 (diff)
allow extensions to override Access2Base
In particular, this allows users or administrators to upgrade Access2Base by installing the extension version of it. Change-Id: I1650e5beced0fd168afa029dbac2025e2fa16e1f Reviewed-on: https://gerrit.libreoffice.org/9755 Tested-by: Stephan Bergmann <sbergman@redhat.com> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/deployment/registry/script/dp_script.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/desktop/source/deployment/registry/script/dp_script.cxx b/desktop/source/deployment/registry/script/dp_script.cxx
index 15b92d00a3e4..9038853a8e9a 100644
--- a/desktop/source/deployment/registry/script/dp_script.cxx
+++ b/desktop/source/deployment/registry/script/dp_script.cxx
@@ -346,7 +346,8 @@ lcl_maybeAddScript(
//same id
if (sOriginalUrl.match("vnd.sun.star.expand:$UNO_USER_PACKAGES_CACHE")
|| sOriginalUrl.match("vnd.sun.star.expand:$UNO_SHARED_PACKAGES_CACHE")
- || sOriginalUrl.match("vnd.sun.star.expand:$BUNDLED_EXTENSIONS"))
+ || sOriginalUrl.match("vnd.sun.star.expand:$BUNDLED_EXTENSIONS")
+ || sOriginalUrl.match("$(INST)/share/basic/Access2Base/"))
{
xScriptLibs->removeLibrary(rName);
bCanAdd = true;