diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2000-06-13 19:03:26 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2000-06-13 19:03:26 +0000 |
commit | dc6586bb54ddcc351c4bbfc29efba315d8fcf6c5 (patch) | |
tree | 9c0829ff47384198a1920e619007a43d3844a1ce /urpmi.addmedia | |
parent | 8b30f8ca4437f61cfd3492df5c8134eb470214db (diff) | |
download | urpmi-dc6586bb54ddcc351c4bbfc29efba315d8fcf6c5.tar urpmi-dc6586bb54ddcc351c4bbfc29efba315d8fcf6c5.tar.gz urpmi-dc6586bb54ddcc351c4bbfc29efba315d8fcf6c5.tar.bz2 urpmi-dc6586bb54ddcc351c4bbfc29efba315d8fcf6c5.tar.xz urpmi-dc6586bb54ddcc351c4bbfc29efba315d8fcf6c5.zip |
no_comment
Diffstat (limited to 'urpmi.addmedia')
-rwxr-xr-x | urpmi.addmedia | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/urpmi.addmedia b/urpmi.addmedia index be89cdf1..dd2ba957 100755 --- a/urpmi.addmedia +++ b/urpmi.addmedia @@ -95,6 +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"; system("genhdlist_cz2 -o $HDLIST $dir"); } } else { |