~ubuntu-branches/ubuntu/utopic/spamassassin/utopic-updates

« back to all changes in this revision

Viewing changes to debian/patches/50_sa-learn_fix_empty_list_handling

  • Committer: Package Import Robot
  • Author(s): Noah Meyerhans
  • Date: 2014-02-14 22:45:15 UTC
  • mfrom: (0.8.1) (0.6.2) (5.1.22 sid)
  • Revision ID: package-import@ubuntu.com-20140214224515-z1es2twos8xh7n2y
Tags: 3.4.0-1
* New upstream version! (Closes: 738963, 738872, 738867)
* Scrub the environment when switching to the debian-spamd user in
  postinst and cron.daily. (Closes: 738951)
* Enhancements to postinst to better manage ownership of
  /var/lib/spamassassin, via Iain Lane <iain.lane@canonical.com>
  (Closes: 738974)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Index: b/sa-learn.raw
2
 
===================================================================
3
 
--- a/sa-learn.raw      2010-01-26 23:16:56.000000000 -0500
4
 
+++ b/sa-learn.raw      2010-01-26 23:16:57.000000000 -0500
5
 
@@ -412,7 +412,7 @@
6
 
 
7
 
   my $tempfile; # will be defined if stdin -> tempfile
8
 
   push(@targets, @ARGV);
9
 
-  @targets = ('-') unless @targets;
10
 
+  @targets = ('-') unless @targets || $opt{folders};
11
 
 
12
 
   for(my $elem = 0; $elem <= $#targets; $elem++) {
13
 
     # ArchiveIterator doesn't really like STDIN, so if "-" is specified