Debian Codegraph @

debian/oar-server.postinst

raw
1 #! /bin/sh
2 set -e
3 #set -x
4
5 . /usr/share/debconf/confmodule
6
7 . /usr/lib/oar/setup/server.sh
8
9 PACKAGE=oar-server
10
11 errorinit() {
12 cat <<EOF
13 oar-server has been unable to start, probably because a configuration or a
14 database setup is required. Please fix it and manually restart the oar-server
15 daemon using ´service start oar-server´.
16 EOF
17 }
18
19 case "$1" in
20 configure)
21 server_setup
22 ;;
23
24 abort-upgrade|abort-remove|abort-deconfigure)
25 ;;
26
27 *)
28 echo "postinst called with unknown argument \`$1'" >&2
29 exit 1
30 ;;
31 esac
32
33 #DEBHELPER#
34
35 exit 0
36
37