debian/frotz.postinst
raw| 1 | #!/bin/sh |
| 2 | # postinst script for frotz |
| 3 | |
| 4 | set -e |
| 5 | |
| 6 | case "$1" in |
| 7 | configure) |
| 8 | update-alternatives --install /usr/games/zcode-interpreter zcode-interpreter /usr/games/frotz-launcher 50 --slave /usr/share/man/man6/zcode-interpreter.6.gz zcode-interpreter-man-gz /usr/share/man/man6/frotz.6.gz |
| 9 | ;; |
| 10 | |
| 11 | abort-upgrade|abort-remove|abort-deconfigure) |
| 12 | ;; |
| 13 | |
| 14 | *) |
| 15 | echo "postinst called with unknown argument \`$1'" >&2 |
| 16 | exit 0 |
| 17 | ;; |
| 18 | esac |
| 19 | |
| 20 | #DEBHELPER# |
| 21 | |
| 22 | exit 0 |