File: cl-htmlgen.preinst

package info (click to toggle)
cl-portable-aserve 1.2.42%2Bcvs.2010.02.08-dfsg-1.2
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch
  • size: 3,860 kB
  • sloc: lisp: 29,622; sh: 156; perl: 140; makefile: 36
file content (20 lines) | stat: -rwxr-xr-x 276 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash

set -e

pkg=htmlgen
dir=/usr/share/common-lisp/source/$pkg

case "$1" in
    install|upgrade|abort-upgrade)
	# Remove any old symlinks
	test -h $dir && rm $dir 
	;;
    *)
        echo "preinst called with unknown argument '$1'" >&2
	;;
esac

#DEBHELPER#

exit 0