fixed bas packages (not bootdisk package)
[hdw-linux/hdw-linux.git] / packages / base / module-init-tools / module-init-tools
index 028708e..0139819 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
                }