summaryrefslogtreecommitdiffstats
path: root/install/firmware
diff options
context:
space:
mode:
authorThomas Bächler <thomas@archlinux.org>2008-03-16 10:55:51 +0100
committerThomas Bächler <thomas@archlinux.org>2008-03-16 10:55:51 +0100
commitc98f860009e05b4d3f10b914ade3a5fad1df6b24 (patch)
treec4f8062d5f52cd41d94bf08c38d2fc2d95c130eb /install/firmware
parent1f8eed5b46629c3e38207349b505251e3c0cde1c (diff)
downloadmkinitcpio-c98f860009e05b4d3f10b914ade3a5fad1df6b24.tar.gz
mkinitcpio-c98f860009e05b4d3f10b914ade3a5fad1df6b24.tar.xz
Fix various coding style issues
Diffstat (limited to 'install/firmware')
-rw-r--r--install/firmware8
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
}