File: postinst

package info (click to toggle)
wmaker-usersguide 0.20.2-1
  • links: PTS
  • area: main
  • in suites: slink
  • size: 568 kB
  • ctags: 15
  • sloc: makefile: 73; sh: 29
file content (21 lines) | stat: -rw-r--r-- 413 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
#!/bin/sh

set -e

case "$1" in
    configure)
        if command -v install-docs >/dev/null 2>&1; then
            install-docs -i /usr/share/doc-base/wmaker-usersguide-ps
        fi
    ;;
    abort-upgrade|abort-deconfigure|abort-remove)
        # how did we got here? Force a non-zero exit code
        exit 1
    ;;
    *)
        echo "postinst called with unkown argument: \$1" >&2
    ;;
esac

exit 0