File: config-script-cme

package info (click to toggle)
cme 1.044-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 392 kB
  • sloc: perl: 1,301; makefile: 19; sh: 9
file content (15 lines) | stat: -rwxr-xr-x 273 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

set -e

. /usr/share/debconf/confmodule

if db_get %PACKAGE%/auto-upgrade-config; then
    CURRENT=$RET
fi

db_title %PACKAGE% configuration

db_set %PACKAGE%/auto-upgrade-config ${CURRENT:-true}
db_input high %PACKAGE%/auto-upgrade-config || true
db_go || true