File: fetchmail.preinst

package info (click to toggle)
fetchmail 6.3.6-1
  • links: PTS
  • area: main
  • in suites: etch-m68k
  • size: 6,336 kB
  • ctags: 3,609
  • sloc: ansic: 26,407; sh: 4,967; perl: 3,180; python: 1,920; yacc: 448; makefile: 331; lex: 277; awk: 124; lisp: 84; sed: 16
file content (16 lines) | stat: -rw-r--r-- 393 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh
#
# Preinst script for fetchmail
# $Id: fetchmail.preinst 148 2004-06-02 16:32:57Z bob $
#

# 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