diff options
author | Thomas Bächler <thomas@archlinux.org> | 2008-03-16 10:55:51 +0100 |
---|---|---|
committer | Thomas Bächler <thomas@archlinux.org> | 2008-03-16 10:55:51 +0100 |
commit | c98f860009e05b4d3f10b914ade3a5fad1df6b24 (patch) | |
tree | c4f8062d5f52cd41d94bf08c38d2fc2d95c130eb /install/firmware | |
parent | 1f8eed5b46629c3e38207349b505251e3c0cde1c (diff) | |
download | mkinitcpio-c98f860009e05b4d3f10b914ade3a5fad1df6b24.tar.gz mkinitcpio-c98f860009e05b4d3f10b914ade3a5fad1df6b24.tar.xz |
Fix various coding style issues
Diffstat (limited to 'install/firmware')
-rw-r--r-- | install/firmware | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/install/firmware b/install/firmware index ca78b80..d03e274 100644 --- a/install/firmware +++ b/install/firmware @@ -6,12 +6,10 @@ install () BINARIES="" FILES="" SCRIPT="" - if [ -e /lib/firmware ]; then - for i in /lib/firmware/*; do - add_file $i - done + if [ -d /lib/firmware ]; then + add_full_dir /lib/firmware else - err "No firmware files found!" + err "No firmware files found!" fi } |