Mercurial > noffle
diff debian/config @ 324:5ec39beae9c5 noffle
[svn] cleanup
author | godisch |
---|---|
date | Sat, 22 Feb 2003 21:54:34 +0000 |
parents | 150e75d3c785 |
children | 47ba9cbc7b75 |
line wrap: on
line diff
--- a/debian/config Sat Feb 22 21:09:23 2003 +0000 +++ b/debian/config Sat Feb 22 21:54:34 2003 +0000 @@ -1,9 +1,7 @@ #!/bin/sh -# $Id: config 444 2003-02-19 07:36:16Z godisch $ +# $Id: config 459 2003-02-22 21:54:34Z godisch $ set -e -. /usr/share/debconf/confmodule -db_version 2.0 server_config=/etc/news/noffle.conf debian_config=/etc/default/noffle @@ -18,6 +16,9 @@ debian_config=/etc/noffle/conf.debian fi +. /usr/share/debconf/confmodule +db_version 2.0 + # are we using debconf? db_input high noffle/debconf && db_go || : db_get noffle/debconf || RET="" @@ -64,8 +65,7 @@ [ "$defexpire" ] && db_set noffle/default-expire "$defexpire" || : fi -# better storing ppp/cron than 'via dialup'/'via permanent connection', -# since that's less language dependent in the debconf dialog +# for backward compatibility < 1.1.2-1 if dpkg --compare-versions "$2" lt-nl 1.1.2; then db_get noffle/fetchmode || RET="" case "$RET" in @@ -89,10 +89,10 @@ # input server port, parent server, username, password, fetchmode, maxfetch, default-expire db_input low noffle/port && db_go || : db_input high noffle/server && db_go || : -db_input medium noffle/username && db_go || : -db_input medium noffle/password && db_go || : +db_input medium noffle/username && db_go || : +db_input medium noffle/password && db_go || : db_input medium noffle/fetchmode && db_go || : -db_input medium noffle/maxfetch && db_go || : +db_input medium noffle/maxfetch && db_go || : db_input low noffle/default-expire && db_go || : exit 0