5 . /usr/share/debconf/confmodule
10 # obtain all the options and call nd-aptenable
12 db_get neurodebian-repository/release; [ "$RET" = "auto" ] || opts+=" -r '$RET'"
13 db_get neurodebian-repository/mirror; nd_mirror="${RET##* }" # get just a url if it came together with alias
14 db_get neurodebian-repository/flavor; nd_flavor="$RET"
15 db_get neurodebian-repository/components; nd_components="$RET"
17 db_get neurodebian-repository/overwrite; [ "$RET" = "true" ] && opts+=" --overwrite" || :
18 db_get neurodebian-repository/suffix; [ "$RET" = "" ] || opts+=" --suffix='$RET'" || :
19 db_get neurodebian-repository/apt-update; [ "$RET" = "true" ] || opts+=" --do-not-update" || :
21 eval nd-aptenable -m "$nd_mirror" $opts
23 abort-upgrade|abort-remove|abort-deconfigure)
28 echo "postinst called with unknown argument \`$1'" >&2