Changeset 379c08a for debian/postinst
- Timestamp:
- 2008-03-21T00:27:24Z (17 years ago)
- Branches:
- master
- Children:
- a83442a
- Parents:
- 6612cc9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
debian/postinst
r6612cc9 r379c08a 16 16 [ -r /etc/default/bitlbee ] && source /etc/default/bitlbee 17 17 18 if [ "$BITLBEE_DISABLED" = "0" ] ; then18 if [ "$BITLBEE_DISABLED" = "0" ] && expr "$2" : '0\..*' > /dev/null || expr "$2" : '1\.0\..*' > /dev/null; then 19 19 ## In case it's still there (if we're upgrading right now) 20 20 update-inetd --remove '.*/usr/sbin/bitlbee' 21 if grep -q /usr/sbin/bitlbee /etc/inetd.conf 2> /dev/null; then 22 # Thanks for breaking update-inetd! (bugs.debian.org/311111) 23 # I hope that it works at least with xinetd, because this 24 # emergency hack doesn't: 25 perl -pi -e 's:^[^#].*/usr/sbin/bitlbee$:## Now using daemon mode\: # $&:' /etc/inetd.conf 26 killall -HUP inetd 27 fi 21 28 fi 22 29
Note: See TracChangeset
for help on using the changeset viewer.