summaryrefslogtreecommitdiff
path: root/debian/golang-weekly-tools.config
blob: 45c0b3135d349233f599de08bf75987180f54d8f (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-weekly-tools/dashboard "$DASHBOARD"
fi

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