You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
368 B

#!/bin/sh
# because debconf sucks
. /usr/share/debconf/confmodule
set -e
tmpfile=$1
choices="$2"
defaults="$3"
question=$4
db_settitle tasksel/title
db_subst $question CHOICES "$choices"
if [ "x$defaults" != "x-" ]; then
db_set $question "$defaults"
fi
db_input high $question || true
db_go || true
db_fset $question seen false
db_get $question
echo "$RET" >$tmpfile