diff options
author | Chris Lumens <clumens@redhat.com> | 2006-06-22 17:18:11 +0000 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2006-06-22 17:18:11 +0000 |
commit | 4cb0ba1d9610eebac6f1086d19b972e9534384d6 (patch) | |
tree | cd2e1c7914156826a11868cc0f7a42d56a7a53f2 /command-stubs | |
parent | 12bd0888d8f37a4aac566d1a47b1b7bbfa090c22 (diff) | |
download | anaconda-4cb0ba1d9610eebac6f1086d19b972e9534384d6.tar.gz anaconda-4cb0ba1d9610eebac6f1086d19b972e9534384d6.tar.xz anaconda-4cb0ba1d9610eebac6f1086d19b972e9534384d6.zip |
Instead of detecting whether a device is removable or not, detect whether
there is media present in devices where it may be removed. This should
finish up getting USB installation working.
Diffstat (limited to 'command-stubs')
-rwxr-xr-x | command-stubs/list-harddrives-stub | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/command-stubs/list-harddrives-stub b/command-stubs/list-harddrives-stub index ac215a9ff..41add100c 100755 --- a/command-stubs/list-harddrives-stub +++ b/command-stubs/list-harddrives-stub @@ -23,7 +23,7 @@ driveList = drives.keys() driveList.sort() for drive in driveList: - if isys.driveIsRemovable(drive): + if not isys.mediaPresent(drive): continue # try to open and get size |