diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2000-07-19 15:26:21 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2000-07-19 15:26:21 +0000 |
commit | 3db6751d5feeb36a4667e7258aae147060aeb45f (patch) | |
tree | a1840053ba0617b305d316aed2d8d5365104a59a /urpmi.addmedia | |
parent | 852996323a2e05bd9fe27efbeb52352e9957b001 (diff) | |
download | urpmi-3db6751d5feeb36a4667e7258aae147060aeb45f.tar urpmi-3db6751d5feeb36a4667e7258aae147060aeb45f.tar.gz urpmi-3db6751d5feeb36a4667e7258aae147060aeb45f.tar.bz2 urpmi-3db6751d5feeb36a4667e7258aae147060aeb45f.tar.xz urpmi-3db6751d5feeb36a4667e7258aae147060aeb45f.zip |
no_comment
Diffstat (limited to 'urpmi.addmedia')
-rwxr-xr-x | urpmi.addmedia | 4 |
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"; } |