summaryrefslogtreecommitdiff
path: root/debian/golang-tools.config
blob: a952f6208fbb048e6829c6173810715d9a2d79fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh

set -e

conffile=/etc/golang/goinstall.conf

. /usr/share/debconf/confmodule

if [ -f $conffile ] ; then
    if grep -q DASHBOARD $conffile; then
        :;
    fi
    . $conffile
    if [ yes = "$DASHBOARD" ] ; then
        DASHBOARD=true
    else
        DASHBOARD=false
    fi
    db_set golang-tools/dashboard "$DASHBOARD"
fi

db_input high golang-tools/dashboard || [ $? -eq 30 ]
db_go || true