summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-09-02 05:22:50 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-09-02 05:22:50 +0000
commit47f57635f07b7caa1843f361c70421c56b5194ea (patch)
treedd0370caf3e4e503f43c642f8d609a8a91f43c41 /urpm.pm
parent2b956b31dd881576758db6cf93c041a567a9798c (diff)
downloadurpmi-47f57635f07b7caa1843f361c70421c56b5194ea.tar
urpmi-47f57635f07b7caa1843f361c70421c56b5194ea.tar.gz
urpmi-47f57635f07b7caa1843f361c70421c56b5194ea.tar.bz2
urpmi-47f57635f07b7caa1843f361c70421c56b5194ea.tar.xz
urpmi-47f57635f07b7caa1843f361c70421c56b5194ea.zip
handle new keywords in hdlists file.
Diffstat (limited to 'urpm.pm')
-rw-r--r--urpm.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm.pm b/urpm.pm
index 7bc129a4..d0a0f499 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -723,7 +723,7 @@ sub add_distrib_media {
chomp;
s/\s*#.*$//;
/^\s*$/ and next;
- /^suppl/ and next;
+ /^(?:suppl|askmedia)/ and next;
m/^\s*(?:noauto:)?(hdlist\S*\.cz2?)\s+(\S+)\s*(.*)$/ or $urpm->{error}(N("invalid hdlist description \"%s\" in hdlists file"), $_);
my ($hdlist, $rpmsdir, $descr) = ($1, $2, $3);