diff options
author | Jeremy Katz <katzj@redhat.com> | 2004-06-29 18:51:52 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2004-06-29 18:51:52 +0000 |
commit | ae44bb34c9ac26c0e772dbb2b061dbbddefdabe2 (patch) | |
tree | eab4b4da9084fb0ee6ad5a056bafda1d1689fb6e /scripts | |
parent | b4060bebdba4f9d85a5590fd0d90b099c3ad9886 (diff) | |
download | anaconda-ae44bb34c9ac26c0e772dbb2b061dbbddefdabe2.tar.gz anaconda-ae44bb34c9ac26c0e772dbb2b061dbbddefdabe2.tar.xz anaconda-ae44bb34c9ac26c0e772dbb2b061dbbddefdabe2.zip |
remove zero-byte modules.usbmap (even though I fixed kudzu)
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/mk-images | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/mk-images b/scripts/mk-images index 073bf7386..14ab64eaa 100755 --- a/scripts/mk-images +++ b/scripts/mk-images @@ -318,6 +318,10 @@ makemoduleball() { # create the modules.usbmap $TRIMUSBMAP $(find . -name *.ko -exec basename {} \;) < $USBMAPS > ../modules.usbmap + # remove a zero-byte modules.usbmap + if [ "$(ls -s ../modules.usbmap |cut -f 1 -d ' ')" = "0" ]; then + rm -f ../modules.usbmap + fi if [ -n "$MMB_DD" ]; then echo $MMB_DD > $MMB_DIR/rhdd |