> That is true. The debconf stuff is not set up to handle extremely
> complicated setups like that. Fortunately, whenever 0.90 comes out, it
> will start using boolean options, so debconf can put
> ScanArchive 0
>
> and this will work again.
That's great. Coming 0.90 will make things simple.
IMHO, setting "DisableDefaultScanOptions" like following may work
with current postinst strategy.
Please consider if it is okay.
--- a/clamav-base.postinst 2005-06-05 00:01:52.000000000 +0900
+++ b/clamav-base.postinst 2005-07-01 17:20:51.111559676 +0900
@@ -315,7 +315,9 @@
[ -n "$user" ] || user=clamav
echo "User $user" >> $DEBCONFFILE
[ "$AllowSupplementaryGroups" = "true" ] && echo
"AllowSupplementaryGroups" >> $DEBCONFFILE
- [ "$DisableDefaultScanOptions" = "true" ] && echo
"DisableDefaultScanOptions" >> $DEBCONFFILE
+ if [ "$DisableDefaultScanOptions" = "true" -o "$scanmail" != "true" -o
"$scanarchive" != "true" -o "$ScanOLE2" != "true" -o "$ScanPE" != "true" -o
"$ScanHTML" != "true" ]; then
+ echo "DisableDefaultScanOptions" >> $DEBCONFFILE
+ fi
[ "$scanmail" = "true" ] && echo "ScanMail" >> $DEBCONFFILE
if [ "$scanarchive" = "true" ]; then
echo "ScanArchive" >> $DEBCONFFILE
--
MATSUI Takahiro
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]