diff options
author | Marius Halden <marius.h@lden.org> | 2018-05-31 12:26:07 +0200 |
---|---|---|
committer | Marius Halden <marius.h@lden.org> | 2018-05-31 12:26:07 +0200 |
commit | caecc6deb160813d084e0a94099b42f434f7d9c9 (patch) | |
tree | 29df7bc72c79d01653b5fe87085477bf3c7c3637 /debian/bitlbee-common.postinst | |
parent | db02ac8971379f9fee2f3a618bb08b8076d1a83d (diff) | |
parent | 49ab3cbbe3d8a92cced850dac46dec671433c5da (diff) |
Merge branch 'master' into patched-masterHEADpatched-master
Diffstat (limited to 'debian/bitlbee-common.postinst')
-rw-r--r-- | debian/bitlbee-common.postinst | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/debian/bitlbee-common.postinst b/debian/bitlbee-common.postinst index 93ef5010..84c5543e 100644 --- a/debian/bitlbee-common.postinst +++ b/debian/bitlbee-common.postinst @@ -34,7 +34,9 @@ else adduser --system --group --disabled-login --disabled-password --home /var/lib/bitlbee/ bitlbee fi -chmod 700 /var/lib/bitlbee/ +if [ -d /var/lib/bitlbee ]; then + chmod 700 /var/lib/bitlbee/ +fi ## Can't do this in packaging phase: Don't know the UID yet. Access to ## the file should be limited, now that it stores passwords. Added |