summaryrefslogtreecommitdiffstats
path: root/urpmi.addmedia
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2000-09-03 16:08:17 +0000
committerFrancois Pons <fpons@mandriva.com>2000-09-03 16:08:17 +0000
commit4bddb9a60cd5808c9f9650f7c9c0cadc68225a65 (patch)
tree81c9f390dccb21575c5ac354589dddaf6100b0ea /urpmi.addmedia
parentcfa7f2ba4ed0b05556d36e835637556aeedfc6b1 (diff)
downloadurpmi-4bddb9a60cd5808c9f9650f7c9c0cadc68225a65.tar
urpmi-4bddb9a60cd5808c9f9650f7c9c0cadc68225a65.tar.gz
urpmi-4bddb9a60cd5808c9f9650f7c9c0cadc68225a65.tar.bz2
urpmi-4bddb9a60cd5808c9f9650f7c9c0cadc68225a65.tar.xz
urpmi-4bddb9a60cd5808c9f9650f7c9c0cadc68225a65.zip
*** empty log message ***
Diffstat (limited to 'urpmi.addmedia')
-rwxr-xr-xurpmi.addmedia2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpmi.addmedia b/urpmi.addmedia
index 60eae2ea..1561c19e 100755
--- a/urpmi.addmedia
+++ b/urpmi.addmedia
@@ -95,7 +95,7 @@ if (my ($prefix, $dir) = $url =~ m,^(removable_.*?|file):/(.*),) {
if (-e $f) {
system("cp -f $f $HDLIST");
} else {
- glob("$dir/*") or die "No RPM-s found! Cowardly refusing to add $dir to urpmi DB.\n";
+ glob("$dir/*.rpm") or die "No RPM-s found! Cowardly refusing to add $dir to urpmi DB.\n";
system("genhdlist_cz2 -o $HDLIST $dir");
}
} else {