File: prerm

package info (click to toggle)
wordinspect 0.1a-6
  • links: PTS
  • area: main
  • in suites: potato
  • size: 384 kB
  • ctags: 133
  • sloc: ansic: 1,771; sh: 311; makefile: 142
file content (25 lines) | stat: -rw-r--r-- 332 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
21
22
23
24
25
#! /bin/sh

set -e

PACKAGE=wordinspect

case "$1" in
    remove|purge|upgrade)
if [ -L /usr/doc/$PACKAGE ]; then
      rm -f /usr/doc/$PACKAGE
fi
        exit 0

    ;;

    abort-install|abort-upgrade|disappear)
        exit 0
    ;;

    *)
        echo "prerm called with unknown argument \`$1'" >&2
        exit 0
    ;;
esac