[Piuparts-devel] piuparts problems (leftover files) in LibreOffice packages and addons

Rene Engelhard rene at debian.org
Tue Apr 24 22:08:06 UTC 2012


On Tue, Apr 24, 2012 at 09:58:08PM +0200, Rene Engelhard wrote:
> This should be a simple matter of rm -rf.

... which actually is already there, but buggy.

diff --git a/libreoffice-common.postrm.in b/libreoffice-common.postrm.in
index 5fc21b0..b19845c 100644
--- a/libreoffice-common.postrm.in
+++ b/libreoffice-common.postrm.in
@@ -14,7 +14,7 @@ case "$1" in
                        "/etc/openoffice/sofficerc" "/etc/libreoffice/sofficerc" "" libreoffice-common -- "$@"
                dpkg-maintscript-helper mv_conffile \
                        "/etc/openoffice/soffice.sh" "/etc/libreoffice/soffice.sh" "" libreoffice-common -- "$@"
-               rm -rf /`echo @OODDIR@ | sed -e s,usr/,var/,g`/share/prereg/bundled
+               rm -rf /`echo @OODIR@ | sed -e s,usr/,var/,g`/share/prereg/bundled
                rmdir /`echo @OODIR@ | sed -e s,usr/,var/,g`/share/prereg/ || true
                rmdir /`echo @OODIR@ | sed -e s,usr/,var/,g`/share/ || true
                # this belongs to -core, but won't work until we have -common stuff removed, too, so try here again

so that it actually gets substitued and removed....

This and the HOME fix will be in 3.5.3~rc2-1.

Regards,
 
Rene



More information about the Piuparts-devel mailing list