#
# author: hackbard@hackdaworld.dyndns.org
#
-# [V] 3.1
+# [V] 3.2.2
# [S] 2-15
-# [D] module-init-tools-3.1.tar.bz2 ftp://ftp.kernel.org/pub/linux/utils/kernel/module-init-tools/
+# [D] module-init-tools-3.2.2.tar.bz2 ftp://ftp.kernel.org/pub/linux/utils/kernel/module-init-tools/
confopt=${confopt//--prefix* /--prefix="" }
confopt="$confopt --enable-zlib"
-pre_install() {
- touch modprobe.conf.5
- }
-
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
}