You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by jm...@apache.org on 2008/03/18 11:41:19 UTC
svn commit: r638313 - /spamassassin/trunk/sa-update.raw
Author: jm
Date: Tue Mar 18 03:41:18 2008
New Revision: 638313
URL: http://svn.apache.org/viewvc?rev=638313&view=rev
Log:
--install change had broken normal updates; thanks Daryl for spotting this
Modified:
spamassassin/trunk/sa-update.raw
Modified: spamassassin/trunk/sa-update.raw
URL: http://svn.apache.org/viewvc/spamassassin/trunk/sa-update.raw?rev=638313&r1=638312&r2=638313&view=diff
==============================================================================
--- spamassassin/trunk/sa-update.raw (original)
+++ spamassassin/trunk/sa-update.raw Tue Mar 18 03:41:18 2008
@@ -356,7 +356,7 @@
my ($res, $ua);
-if (!$opt{'install'}) {
+if (!@{$opt{'install'}}) {
$res = Net::DNS::Resolver->new();
$ua = LWP::UserAgent->new();
@@ -398,7 +398,7 @@
dbg("channel: channel pre file $PREFile");
my $instfile;
- if ($opt{'install'}) {
+ if (@{$opt{'install'}}) {
$instfile = shift @{$opt{'install'}};
dbg("channel: installing from file $instfile");
}