Skip to content

Commit

Permalink
debian: Fix postinst error with no /var/lib/bitlbee
Browse files Browse the repository at this point in the history
(Patch from debbug#816200, changelog modified slightly by dx)
  • Loading branch information
spwhitton authored and dequis committed Apr 11, 2018
1 parent 246b98b commit 8c4af56
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
4 changes: 3 additions & 1 deletion debian/bitlbee-common.postinst
Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions debian/changelog
@@ -1,8 +1,13 @@
bitlbee (3.5.1-1.1) UNRELEASED; urgency=medium

[ dequis ]
* Remove bitlbee-plugin-skype and skyped (obsolete)
* Enable only bitlbee.service, not bitlbee.socket too

[ Sean Whitton ]
* Add existence check to chmod call in bitlbee-common.postinst
(Closes: #816200).

-- dequis <dx@dxzone.com.ar> Mon, 19 Mar 2018 22:18:43 -0300

bitlbee (3.5.1-1) unstable; urgency=medium
Expand Down

0 comments on commit 8c4af56

Please sign in to comment.