Debian Codegraph @

debian/libavifile-0.7c2.preinst

raw
1 #!/bin/sh
2
3 set -e
4
5 DOCDIR=/usr/share/doc/libavifile-0.7c2
6
7 case "$1" in
8 install|upgrade)
9 if [ -d $DOCDIR ]; then
10 rm -rf $DOCDIR
11 fi
12 ;;
13
14 abort-upgrade)
15 ;;
16
17 *)
18 echo "preinst called with unknown argument \`$1'" >&2
19 exit 1
20 ;;
21 esac
22
23 # dh_installdeb will replace this with shell code automatically
24 # generated by other debhelper scripts.
25
26 #DEBHELPER#
27
28 exit 0