#
# author: hackbard@hackdaworld.dyndns.org
#
-# [V] 3.0
+# [V] 3.1
# [S] 2-15
-# [D] module-init-tools-3.0.tar.bz2 ftp://ftp.kernel.org/pub/linux/utils/kernel/module-init-tools/
+# [D] module-init-tools-3.1.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
- touch $root/etc/modprobe.conf
- 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
}