File: postinst

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 (18 lines) | stat: -rw-r--r-- 295 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#! /bin/sh -e

case "$1" in
  configure)
    [ -x /usr/bin/update-menus ] && update-menus
  ;;

  abort-upgrade|abort-deconfigure|abort-remove)
    # how did we get here? Force a non-zero exit code
    exit 1
  ;;
  *)
    echo "postinst called with unkown argument: \$1" >&2
  ;;
esac

exit 0