Mercurial > noffle
diff debian/config @ 425:c2fd00030991 noffle
[svn] added preliminary ucf support
author | godisch |
---|---|
date | Fri, 20 Jun 2003 17:48:28 +0100 |
parents | afa2ff7b5ebf |
children | 14b909051b8d |
line wrap: on
line diff
--- a/debian/config Fri Jun 20 16:58:53 2003 +0100 +++ b/debian/config Fri Jun 20 17:48:28 2003 +0100 @@ -1,19 +1,11 @@ #!/bin/sh -# $Id: config 567 2003-06-20 15:58:53Z godisch $ +# $Id: config 568 2003-06-20 16:48:28Z godisch $ set -e . /usr/share/debconf/confmodule db_version 2.0 db_capb backup -# are we using debconf? -db_input high noffle/debconf && db_go || : -db_get noffle/debconf -if [ "$RET" = false ]; then - db_stop - exit 0 -fi - # for backward compatibility < 1.1.2-1 if dpkg --compare-versions "$2" lt-nl 1.1.2; then db_get noffle/fetchmode @@ -25,11 +17,8 @@ # input configuration using backup capability, see debconf-devel(8) state=1 -laststate=7 -while [ "$state" -ge 0 -a "$state" -le "$laststate" ]; do +while [ "$state" -ge 1 -a "$state" -le 7 ]; do case "$state" in - 0) db_input high noffle/debconf || : - ;; 1) db_input low noffle/port || : ;; 2) db_input high noffle/server || : @@ -47,13 +36,9 @@ ;; esac if db_go; then - if [ "$state" -eq 0 ]; then - db_get noffle/debconf - [ "$RET" = true ] || break - fi state=$(($state + 1)) else - state=0 + state=$(($state - 1)) fi done