otherwise this creates a huge /root/libreoffice/3/ tree (Closes: #669271) --- changelog | 5 +++++ shell-lib-extensions.sh | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/changelog b/changelog index 2dd4b1f..ca7c190 100644 --- a/changelog +++ b/changelog @@ -1,8 +1,13 @@ libreoffice (1:3.5.3-3) UNRELEASED; urgency=low + [ Rene Engelhard ] * debian/patches/ignore-sc_cellrangesbase-fails.diff: make .IGNORE actually work + [ Andreas Beckmann ] + * debian/shell-lib-extension.sh: set HOME to $INSTDIR also for + unopkg list --bundled (Closes: #669271) + -- Rene Engelhard <r...@debian.org> Tue, 08 May 2012 11:37:43 +0200 libreoffice (1:3.5.3-2) unstable; urgency=low diff --git a/shell-lib-extensions.sh b/shell-lib-extensions.sh index c0e74bd..41619aa 100644 --- a/shell-lib-extensions.sh +++ b/shell-lib-extensions.sh @@ -12,7 +12,7 @@ sync_extensions() { else d=/usr/lib/libreoffice fi - if /usr/lib/libreoffice/program/unopkg list --bundled >/dev/null 2>/dev/null; then + if HOME=$INSTDIR /usr/lib/libreoffice/program/unopkg list --bundled >/dev/null 2>/dev/null; then if [ -e /usr/lib/libreoffice/share/prereg/bundled ] && readlink /usr/lib/libreoffice/share/prereg/bundled 2>&1 >/dev/null && [ -L $d/ure-link ]; then HOME=$INSTDIR \ /usr/lib/libreoffice/program/unopkg sync -v --bundled \ @@ -20,8 +20,8 @@ sync_extensions() { "-env:UserInstallation=file://$INSTDIR" \ "-env:UNO_JAVA_JFW_INSTALL_DATA=file://$d/share/config/javasettingsunopkginstall.xml" \ "-env:JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBILITY=1" - rm -rf $INSTDIR fi fi + rm -rf $INSTDIR } -- 1.7.10 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org