Mercurial > noffle
view debian/config @ 494:372f8b55506e noffle
[svn] Apply patch from Jan De Luyck. Add new option 'add-messageid-if-missing',
which optionally postpones adding a message ID to the upstream server.
If this is done, post-locally must be off.
This is to deal with an upstream server troubling Jan. It usually (but
not always) rejects posts with a Noffle message ID.
I have changed Jan's original option of 'add-message-id-if-missing'
for consistency with 'replace-messageid' and added the manual page entry.
See SourceForge feature request 1513395.
author | bears |
---|---|
date | Wed, 12 Jul 2006 20:26:41 +0100 |
parents | 14b909051b8d |
children |
line wrap: on
line source
#!/bin/sh # $Id: config 570 2003-06-20 16:54:49Z godisch $ set -e . /usr/share/debconf/confmodule db_version 2.0 db_capb backup # for backward compatibility < 1.1.2-1 if dpkg --compare-versions "$2" lt-nl 1.1.2; then db_get noffle/fetchmode case "$RET" in 'via dialup') db_set noffle/fetchmode ppp;; 'via permanent connection') db_set noffle/fetchmode cron;; esac fi # input configuration using backup capability, see debconf-devel(8) state=1 while [ "$state" -ge 1 -a "$state" -le 7 ]; do case "$state" in 1) db_input medium noffle/port || : ;; 2) db_input high noffle/server || : ;; 3) db_input medium noffle/username || : ;; 4) db_get noffle/username [ "$RET" ] && db_input medium noffle/password || : ;; 5) db_input medium noffle/fetchmode || : ;; 6) db_input medium noffle/maxfetch || : ;; 7) db_input low noffle/default-expire || : ;; esac if db_go; then state=$(($state + 1)) else state=$(($state - 1)) fi done db_stop exit 0