Debian Codegraph @

debian/postinst

raw symbols SCIP
1 #!/bin/shscip-shell filesystem . . `/bin/sh`.
2 # vim:ts=2:sts=2:et
3
4 set -e
5
6 INETD_SCR="/etc/init.d/inetdscip-shell filesystem . . `/etc/init.d/inetd`."
7 INETD_CONF="/etc/inetd.confscip-shell filesystem . . `/etc/inetd.conf`."
8 RLINCONFDIR="/etc/rlinetd.d/scip-shell filesystem . . `/etc/rlinetd.d/`."
9 UCFDIR="/var/lib/rlinetd/ucf/scip-shell filesystem . . `/var/lib/rlinetd/ucf/`."
10
11
12 if [scip-shell system . . `[`. "$1" = "configure" ]; then
13 if [scip-shell system . . `[`. -f "$INETD_CONF" ] && [scip-shell system . . `[`. -z "`lsscip-shell system . . ls. -1 $UCFDIR`" ]; then
14
15 # source debconf library
16 . /usr/share/debconf/confmodulescip-shell source . . `/usr/share/debconf/confmodule`.
17 db_get rlinetd/convert_from_inetd
18 if [scip-shell system . . `[`. "x$RET" = "xtrue" ] ; then
19 inetd2rlinetd --add-from-comment -f "$INETD_CONF" "$RLINCONFDIR"
20 fi
21
22 inetd2rlinetd --add-from-comment --force-overwrite -f "$INETD_CONF" "$UCFDIR"
23
24 db_stop
25 fi
26 fi
27
28 #DEBHELPER#