]> hackdaworld.org Git - hdw-linux/hdw-linux.git/blobdiff - packages/base/module-init-tools/module-init-tools
lirc hotfix, createdb dir added to 00-dirtree
[hdw-linux/hdw-linux.git] / packages / base / module-init-tools / module-init-tools
index 028708e68b7655047935c8ca85da28edd4dd625d..013981904c0120245ccc1b88b4c8da6ddec5e0ff 100644 (file)
@@ -15,6 +15,6 @@ pre_install() {
 
 post_install() {
        # creating modprobe.* stuff
-       [ ! -f $root/etc/modprobe.conf ] touch $root/etc/modprobe.conf
-       [ ! -f $root/etc/modprobe.devfs ] cp modprobe.devfs $root/etc
+       [ ! -f $root/etc/modprobe.conf ] && touch $root/etc/modprobe.conf
+       [ ! -f $root/etc/modprobe.devfs ] && cp modprobe.devfs $root/etc
                }