File: fetchmail.preinst

package info (click to toggle)
fetchmail 6.3.26-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 8,980 kB
  • ctags: 4,235
  • sloc: ansic: 29,508; sh: 5,796; perl: 3,181; python: 1,955; yacc: 458; makefile: 350; lex: 265; awk: 124; lisp: 84; exp: 43; sed: 16
file content (18 lines) | stat: -rw-r--r-- 402 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh
#
# Preinst script for fetchmail
# $Id: fetchmail.preinst 486 2008-12-22 15:13:12Z nion $
#

set -e

# Remove a possibly fucked ip-up.d, which was unfortunately not
# removed due of being a conffile.  This is ugly but the only "clean"
# way I see right now.
if [ -f /etc/network/if-up.d/fetchmail ] && [ "$2" = "6.2.4-3" ]; then 
	rm -f /etc/network/if-up.d/fetchmail
fi

#DEBHELPER#

exit 0