File: bitlbee-common.prerm

package info (click to toggle)
bitlbee 3.6-1.5
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 2,376 kB
  • sloc: ansic: 29,135; xml: 2,282; sh: 905; makefile: 429; python: 221; perl: 41
file content (15 lines) | stat: -rw-r--r-- 433 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

set -e

if [ "$1" = "upgrade" ]; then
	## To prevent the help function from breaking in currently running
	## BitlBee processes. Have to do it like this because dpkg-reconfigure
	## looks a lot like an upgrade and we don't want to lose help.txt...
	if [ -e /usr/share/bitlbee/help.txt ]; then
		rm -f /usr/share/bitlbee/help.upgrading
		mv /usr/share/bitlbee/help.txt /usr/share/bitlbee/help.upgrading
	fi
fi

#DEBHELPER#