File: preinst

package info (click to toggle)
nullmailer 1.00RC7-22
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,192 kB
  • ctags: 695
  • sloc: cpp: 4,375; sh: 519; makefile: 249; perl: 184; ansic: 10
file content (13 lines) | stat: -rw-r--r-- 376 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

set -e

if dpkg --compare-versions "$2" lt-nl 1.00RC7-12; then
	echo "****** NOTE ******"
	echo "The nullmailer init script of $2 is incompatible with the"
	echo "version of nullmailer currently installed. You need to install the new version"
	echo "of /etc/init.d/nullmailer, otherwise the installation process will lock up."
	echo "******************"
fi

exit 0