diff options
Diffstat (limited to 'urpmi.addmedia')
-rwxr-xr-x | urpmi.addmedia | 2 |
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 { |