diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 05:55:35 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 05:55:35 +0000 |
commit | 0e05dd0e4d67d88ca51780dafe4029744269e6fa (patch) | |
tree | b49073fa569d8d4fbcc7002cf4df72fa840780c1 /debian/shell-lib-extensions.sh | |
parent | Adding upstream version 4:24.2.0. (diff) | |
download | libreoffice-0e05dd0e4d67d88ca51780dafe4029744269e6fa.tar.xz libreoffice-0e05dd0e4d67d88ca51780dafe4029744269e6fa.zip |
Adding debian version 4:24.2.0-1.debian/4%24.2.0-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | debian/shell-lib-extensions.sh | 12 |
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 0000000000..b7acf0be4c --- /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 +} |