aboutsummaryrefslogtreecommitdiffstats
path: root/debian/bitlbee-common.postinst
diff options
context:
space:
mode:
authordequis <dx@dxzone.com.ar>2018-05-27 00:04:01 -0300
committerdequis <dx@dxzone.com.ar>2018-05-27 00:04:01 -0300
commit17cc2fe53806232b2cb61042f238b34c87da0724 (patch)
tree1c7bfc807fbb53bee55f2df40676aa5a556afb9c /debian/bitlbee-common.postinst
parent5c163e5063e01dfe94f73b2a3729c475cdd75467 (diff)
parentf8d2cffce09b9990689a1f33b3abcc153482f42b (diff)
Merge branch 'develop'
Diffstat (limited to 'debian/bitlbee-common.postinst')
-rw-r--r--debian/bitlbee-common.postinst4
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