Debian Codegraph @

debian/postinst

raw symbols SCIP
1 #! /bin/shscip-shell filesystem . . `/bin/sh`.
2
3 set -e
4
5 CFGFILE="/var/lib/one.liberty/deckhost.confscip-shell filesystem . . `/var/lib/one.liberty/deckhost.conf`."
6
7 if [scip-shell system . . `[`. "$1" = "configure" ]; then
8
9 . /usr/share/debconf/confmodulescip-shell source . . `/usr/share/debconf/confmodule`.
10 db_version 2.0
11
12 TEMPFILE=$(mktempscip-shell system . . mktemp. --tmpdir debconf_XXXXXXXXXX)
13 db_get 'one.liberty/domain'
14 echoscip-shell system . . echo. >> "$TEMPFILE" "DOMAIN=\"$RET\""
15 db_get 'one.liberty/hub/name'
16 echoscip-shell system . . echo. >> "$TEMPFILE" "HUB_NAME=\"$RET\""
17 db_get 'one.liberty/hub/uri'
18 echoscip-shell system . . echo. >> "$TEMPFILE" "HUB_URI=\"$RET\""
19 db_get 'one.liberty/chat/uri'
20 echoscip-shell system . . echo. >> "$TEMPFILE" "CHAT_URI=\"$RET\""
21 db_get 'one.liberty/social/uri'
22 echoscip-shell system . . echo. >> "$TEMPFILE" "SOCIAL_URI=\"$RET\""
23
24 db_stop
25
26 mvscip-shell system . . mv. -f "$TEMPFILE" "$CFGFILE"
27 chmodscip-shell system . . chmod. a=rx,u+w "$CFGFILE"
28 update-ldh-gui-suite
29 fi
30
31 #DEBHELPER#