File: config

package info (click to toggle)
getmail 3.2.5-3
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 428 kB
  • ctags: 161
  • sloc: python: 1,777; sh: 31; makefile: 12
file content (18 lines) | stat: -rw-r--r-- 643 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh
# Fist check if the /usr/lib/getmail directory exists. If it does
# this is not a first install.
# Then check if getmail_defaults.py exist if it doesn't then the user is 
# upgrading from 2.x and we need to display the warning about
# mbox delivery not longer supported directly by getmail but by a helper
# program (/usr/bin/getmail_mbox).
# Fredrik Steen <stone@debian.org> Mon Mar 24 11:46:02 CET 2003

if [ -d /usr/lib/getmail ]; then
	if [ ! -f /usr/lib/getmail/getmail_defaults.py ]; then
  		. /usr/share/debconf/confmodule
  		db_version 2.0
  		db_title getmail
  		db_input "medium" getmail/notice || true
  		db_go
	fi
fi