debian/oar-node.postinst
raw| 1 | #! /bin/sh |
| 2 | set -e |
| 3 | #set -x |
| 4 | |
| 5 | . /usr/share/debconf/confmodule |
| 6 | |
| 7 | . /usr/lib/oar/setup/node.sh |
| 8 | |
| 9 | PACKAGE=oar-node |
| 10 | |
| 11 | case "$1" in |
| 12 | configure) |
| 13 | node_setup |
| 14 | pam-auth-update --package |
| 15 | ;; |
| 16 | |
| 17 | abort-upgrade|abort-remove|abort-deconfigure) |
| 18 | ;; |
| 19 | |
| 20 | *) |
| 21 | echo "postinst called with unknown argument \`$1'" >&2 |
| 22 | exit 1 |
| 23 | ;; |
| 24 | esac |
| 25 | |
| 26 | errorinit() { |
| 27 | return $? |
| 28 | } |
| 29 | |
| 30 | #DEBHELPER# |
| 31 | |
| 32 | exit 0 |
| 33 | |
| 34 |