summaryrefslogtreecommitdiff
path: root/debian/postinst.in
diff options
context:
space:
mode:
Diffstat (limited to 'debian/postinst.in')
-rw-r--r--debian/postinst.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/debian/postinst.in b/debian/postinst.in
index 67ea151..80bdbcf 100644
--- a/debian/postinst.in
+++ b/debian/postinst.in
@@ -73,18 +73,18 @@ fi
if [ ! -d /var/lib/dpkg ]; then
mkdir -m 755 -p /var/lib/dpkg
- chown root:root /var/lib/dpkg
+ chown root:root /var/lib/dpkg || true
fi
if [ ! -f /var/lib/dpkg/status ]; then
echo > /var/lib/dpkg/status
chmod 644 /var/lib/dpkg/status
- chown root:root /var/lib/dpkg/status
+ chown root:root /var/lib/dpkg/status || true
fi
if [ ! -f /usr/info/dir ] && [ ! -f /usr/share/info/dir ]; then
install_from_default /usr/share/base-files/info.dir /usr/share/info/dir
chmod 644 /usr/share/info/dir
- chown root:root /usr/share/info/dir
+ chown root:root /usr/share/info/dir || true
fi
if [ "$1" = "configure" ] && [ "$2" != "" ]; then