summaryrefslogtreecommitdiffstats
path: root/debian/shell-lib-extensions.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 16:52:12 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 16:52:12 +0000
commit974c21ad33bfa1d93d5ae795556d35ca7eb36e68 (patch)
tree1a0d7c0258aadfcd993c4bffa454bcf117b382cf /debian/shell-lib-extensions.sh
parentAdding upstream version 1:7.0.4. (diff)
downloadlibreoffice-974c21ad33bfa1d93d5ae795556d35ca7eb36e68.tar.xz
libreoffice-974c21ad33bfa1d93d5ae795556d35ca7eb36e68.zip
Adding debian version 1:7.0.4-4+deb11u8.debian/1%7.0.4-4+deb11u8
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/shell-lib-extensions.sh')
-rw-r--r--debian/shell-lib-extensions.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/debian/shell-lib-extensions.sh b/debian/shell-lib-extensions.sh
new file mode 100644
index 000000000..3fc248e45
--- /dev/null
+++ b/debian/shell-lib-extensions.sh
@@ -0,0 +1,10 @@
+validate_extensions() {
+ INSTDIR=`mktemp -d`
+ if HOME=$INSTDIR /usr/lib/libreoffice/program/unopkg list --bundled >/dev/null 2>/dev/null; then
+ HOME=$INSTDIR /usr/lib/libreoffice/program/unopkg validate -v --bundled
+ fi
+}
+
+make_lo_sync_extensions() {
+ touch /usr/lib/libreoffice/share/extensions
+}