File: postrm

package info (click to toggle)
lists-archives 20000212-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 148 kB
  • ctags: 53
  • sloc: perl: 386; sh: 153; makefile: 42
file content (26 lines) | stat: -rwxr-xr-x 460 bytes parent folder | download
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
26
#!/bin/sh -e
case "$1" in
  remove)
    if [ -L /usr/doc/lists-archives ]; then
       rm -f /usr/doc/lists-archives
    fi
    ;;

  upgrade)
    if [ -L /usr/doc/lists-archives ]; then
       rm -f /usr/doc/lists-archives
    fi
    ;;

  purge)
    rm -rf /var/lib/lists-archives /etc/lists-archives
    ;;

  failed-upgrade|abort-install|abort-upgrade|disappear)
    ;;

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