Changeset d301872
- Timestamp:
- 2008-08-24T16:49:03Z (16 years ago)
- Branches:
- master
- Children:
- 934dddf3
- Parents:
- 5d3b4e8
- Location:
- debian
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
debian/bitlbee.init
r5d3b4e8 rd301872 32 32 fi 33 33 34 [ "$BITLBEE_DISABLED" = "1" ] && exit 035 36 34 37 35 # … … 41 39 # Make sure BitlBee can actually write its PID... 42 40 touch /var/run/bitlbee.pid 43 chown bitlbee /var/run/bitlbee.pid41 chown bitlbee: /var/run/bitlbee.pid 44 42 45 start-stop-daemon --start --quiet --pidfile $PIDFILE \ 43 # Clean up after the bug between 1.2-5 and 1.2.1-2 where BitlBee ran 44 # as root. (#494656 and #495877) Fixing this in the postinst script 45 # is not enough since the user will restart his BitlBee after up- 46 # grading the package, and the BitlBee running as root will then 47 # save its settings, re-setting ownership of the file to root. 48 # TODO: Remove this after a few revisions. 49 find /var/lib/bitlbee -uid 0 -name '*.xml' -exec chown bitlbee: {} \; 50 51 start-stop-daemon --start --quiet \ 46 52 --exec $DAEMON -- -p $BITLBEE_PORT -P $PIDFILE $BITLBEE_OPTS 47 53 } … … 58 64 case "$1" in 59 65 start) 66 [ "$BITLBEE_DISABLED" = "1" ] && exit 0 67 60 68 echo -n "Starting $DESC: $NAME" 61 69 d_start -
debian/changelog
r5d3b4e8 rd301872 1 bitlbee (1.2.1-3) unstable; urgency=high 2 3 * chown /var/lib/bitlbee/*.xml to bitlbee:bitlbee to clean up after 4 1.2-5 and the bugfix in 1.2.1-2. (Closes: #495877) 5 * Moved BITLBEE_DISABLED check to only check when trying to *start* 6 the daemon. (Closes: #488611) 7 8 -- Wilmer van der Gaast <wilmer@gaast.net> Sat, 23 Aug 2008 18:53:54 +0100 9 1 10 bitlbee (1.2.1-2) unstable; urgency=low 2 11 -
debian/postinst
r5d3b4e8 rd301872 80 80 81 81 ## If we're upgrading, we'll probably skip this next part 82 if [ -d $CONFDIR ] && chown -R bitlbee $CONFDIR; then82 if [ -d $CONFDIR ] && chown -R bitlbee: $CONFDIR; then 83 83 echo 'BitlBee (probably) already installed, skipping user/configdir installation' 84 84 exit 0
Note: See TracChangeset
for help on using the changeset viewer.