File: preinst

package info (click to toggle)
cltl 1.0.15
  • links: PTS
  • area: contrib
  • in suites: sarge
  • size: 80 kB
  • ctags: 6
  • sloc: sh: 143; makefile: 43; lisp: 5
file content (18 lines) | stat: -rwxr-xr-x 294 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

set -e

# Remove old config file
test -f /etc/emacs/site-start.d/60cltl-ilisp.el && rm -f /etc/emacs/site-start.d/60cltl-ilisp.el

case "$1" in
    install|upgrade) 
	;;
    abort-upgrade)
	;;
    *)
        echo "preinst called with unknown argument '$1'" >&2
	;;
esac

#DEBHELPER#