File: postrm

package info (click to toggle)
wmcdplay 1.0beta1-4
  • links: PTS
  • area: main
  • in suites: potato
  • size: 316 kB
  • ctags: 150
  • sloc: cpp: 1,079; sh: 44; makefile: 41
file content (28 lines) | stat: -rw-r--r-- 389 bytes parent folder | download | duplicates (4)
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
27
28
#! /bin/sh -e

case "$1" in
  remove)
    [ -x /usr/bin/update-menus ] && update-menus
  ;;
  purge)
  ;;
  upgrade)
    # nothing to do
  ;;
  failed-upgrade)
    # this is an upgrade, and it has failed. What can fail?
    exit 1
  ;;
  abort-install)
  ;;
  abort-upgrade)
  ;;
  disappear)
  ;;
  *)
    echo "postrm called with unknown argument \`$1'" >&2
    exit 1
  ;;
esac

exit 0