The following commit has been merged in the debian-experimental-3.5 branch:
commit 3705dc2ed80e9704e531e5dce144e6199c225630
Author: Rene Engelhard <[email protected]>
Date:   Wed Jan 11 10:06:30 2012 +0000

    don't fail if var/lib/libreoffice/basis3.4/program doesn't exist

diff --git a/libreoffice-core.preinst.in b/libreoffice-core.preinst.in
index 3dc3478..db806d1 100755
--- a/libreoffice-core.preinst.in
+++ b/libreoffice-core.preinst.in
@@ -6,7 +6,7 @@ set -e
 
 if [ "$1" = "upgrade" -o "$1" = "install" ]; then
        rm -f `echo @OODIR@ | sed -e 
s,/usr/,/var,g`/basis3.4/program/services.rdb
-       rmdir `echo @OODIR@ | sed -e s,/usr/,/var,g`/basis3.4/program/
+       rmdir `echo @OODIR@ | sed -e s,/usr/,/var,g`/basis3.4/program/ || true
 fi
 
 #DEBHELPER#

-- 
LibreOffice packaging repository


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to