summaryrefslogtreecommitdiffstats
path: root/urpmi.addmedia
diff options
context:
space:
mode:
Diffstat (limited to 'urpmi.addmedia')
-rwxr-xr-xurpmi.addmedia4
1 files changed, 2 insertions, 2 deletions
diff --git a/urpmi.addmedia b/urpmi.addmedia
index dd2ba957..acd4ee43 100755
--- a/urpmi.addmedia
+++ b/urpmi.addmedia
@@ -107,8 +107,8 @@ my $mask = umask 077;
open LIST, ">$RPMLIST" or die "can't output $RPMLIST";
umask $mask;
-open F, "bzip2 -dc $HDLIST 2>/dev/null | hdlist2names - |";
-foreach (<F>) {
+open F, "bzip2 -dcq $HDLIST | hdlist2names - |";
+while (<F>) {
chomp;
print LIST "$url/$_\n";
}