------------------------------------------------------------ revno: 2091 committer: Rene Engelhard <r...@debian.org> branch nick: debian timestamp: Tue 2010-09-14 20:51:46 +0200 message: * debian/openoffice.org-common.triggers, debian/shell-lib-extensions.sh: add trigger for openoffice.org-common to run unopkg verify after all extensions in /usr/lib/openoffice/share/extensions have been installed/updated added: openoffice.org-common.postinst.in openoffice.org-common.triggers modified: changelog shell-lib-extensions.sh
=== modified file 'changelog' --- a/changelog 2010-09-14 18:29:48 +0000 +++ b/changelog 2010-09-14 18:51:46 +0000 @@ -49,8 +49,12 @@ Michael Tokarev for pointing this out. * debian/rules, debian/scripts/vars.powerpcspe: add powerpcspe support (Sebastian Andrzej Siewior) - closes: #594038 + * debian/openoffice.org-common.triggers, debian/shell-lib-extensions.sh: + add trigger for openoffice.org-common to run unopkg verify after all + extensions in /usr/lib/openoffice/share/extensions have been + installed/updated - -- Rene Engelhard <r...@debian.org> Tue, 24 Aug 2010 23:20:05 +0200 + -- Rene Engelhard <r...@debian.org> Tue, 14 Sep 2010 20:47:45 +0200 openoffice.org (1:3.2.1-6) unstable; urgency=high
=== added file 'openoffice.org-common.postinst.in' --- a/openoffice.org-common.postinst.in 1970-01-01 00:00:00 +0000 +++ b/openoffice.org-common.postinst.in 2010-09-14 18:51:46 +0000 @@ -0,0 +1,19 @@ +#!/bin/sh + +set -e + +#INCLUDE_SHELL_LIB# + +if [ "$1" = "triggered" ]; then + for triggername in $2; do + case "$triggername" in + # new "bundled" extensions (since 3.3) + "/usr/lib/openoffice/share/extensions") + validate_extensions + ;; + esac + done +fi + +#DEBHELPER# + === added file 'openoffice.org-common.triggers' --- a/openoffice.org-common.triggers 1970-01-01 00:00:00 +0000 +++ b/openoffice.org-common.triggers 2010-09-14 18:51:46 +0000 @@ -0,0 +1,1 @@ +interest /usr/lib/openoffice/share/extensions === modified file 'shell-lib-extensions.sh' --- a/shell-lib-extensions.sh 2010-08-24 21:32:12 +0000 +++ b/shell-lib-extensions.sh 2010-09-14 18:51:46 +0000 @@ -20,3 +20,6 @@ fi } +validate_extensions() { + /usr/lib/openoffice/program/unopkg validate -v --shared +}