summaryrefslogtreecommitdiffstats
path: root/mail/dspam/PREPARE
diff options
context:
space:
mode:
Diffstat (limited to 'mail/dspam/PREPARE')
-rwxr-xr-xmail/dspam/PREPARE11
1 files changed, 8 insertions, 3 deletions
diff --git a/mail/dspam/PREPARE b/mail/dspam/PREPARE
index a643d5425b..d1f4b32ea5 100755
--- a/mail/dspam/PREPARE
+++ b/mail/dspam/PREPARE
@@ -1,3 +1,8 @@
-config_query DSPAM_CVS \
- "Do you want to use the dspam development version from CVS?" \
- n
+config_query DSPAM_SCM \
+ "Do you want to use the dspam development version?" \
+ ${DSPAM_CVS:-n} &&
+if [[ $DSPAM_SCM == y ]]; then
+config_query DSPAM_SCM_AUTO \
+ "Automaticaly update the spell on sorcery queue/system-update?" \
+ n
+fi