summaryrefslogtreecommitdiffstats
path: root/debian/shell-lib-extensions.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:07:31 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:07:31 +0000
commitedaebb65d92a48d7075c8c1f64c5ffd87054827b (patch)
tree045c941e1851cde1665bea22d97a2976b7a5bb69 /debian/shell-lib-extensions.sh
parentAdding upstream version 4:7.4.7. (diff)
downloadlibreoffice-edaebb65d92a48d7075c8c1f64c5ffd87054827b.tar.xz
libreoffice-edaebb65d92a48d7075c8c1f64c5ffd87054827b.zip
Adding debian version 4:7.4.7-1+deb12u1.debian/4%7.4.7-1+deb12u1debian
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.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/shell-lib-extensions.sh b/debian/shell-lib-extensions.sh
new file mode 100644
index 000000000..b7acf0be4
--- /dev/null
+++ b/debian/shell-lib-extensions.sh
@@ -0,0 +1,12 @@
+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() {
+ if [ -d /usr/lib/libreoffice/share/extensions ]; then
+ touch /usr/lib/libreoffice/share/extensions
+ fi
+}