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