Package: debmirror Severity: normal Tags: patch
One of the three locations --no-motd is set has missed a hyphen. This causes debmirror to fail when run without verbose. Attached patch should fix this. thanks, kk -- System Information: Debian Release: 5.0.3 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.30.7-libre-fshoppe1 (SMP w/2 CPU cores) Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages debmirror depends on: ii bzip2 1.0.5-1 high-quality block-sorting file co ii libcompress-zlib-perl 2.012-1 Perl module for creation and manip ii libdigest-sha1-perl 2.11-2+b1 NIST SHA-1 message digest algorith ii liblockfile-simple-perl 0.206-1 Simple advisory file locking ii libwww-perl 5.813-1 WWW client/server library for Perl ii perl [libdigest-md5-perl 5.10.0-19lenny2 Larry Wall's Practical Extraction ii perl-modules [libnet-per 5.10.0-19lenny2 Core Perl modules ii rsync 3.0.3-2 fast remote file copy program (lik Versions of packages debmirror recommends: ii ed 0.7-3 The classic unix line editor ii gnupg 1.4.9-3+lenny1 GNU privacy guard - a free PGP rep ii patch 2.5.9-5 Apply a diff file to an original debmirror suggests no packages.
diff --git a/debmirror b/debmirror index ff4bd08..b89751a 100755 --- a/debmirror +++ b/debmirror @@ -1584,7 +1584,7 @@ sub rsync_get { } $opt .= " --progress" if $progress; $opt .= " -v" if $debug; - $opt .= " -no-motd" unless $verbose; + $opt .= " --no-motd" unless $verbose; system ("rsync --timeout=$timeout $opt $rsyncremote --include=$file --exclude='*' ."); if ($? == 0 && -f $file) { return 1;