CHANGELOG 2006-01-25
[hdw-linux/hdw-linux.git] / packages / base / module-init-tools / module-init-tools
index c887d04..977c42a 100644 (file)
@@ -2,15 +2,15 @@
 #
 # author: hackbard@hackdaworld.dyndns.org
 #
-# [V] 3.0
+# [V] 3.2.2
 # [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.2.2.tar.bz2 ftp://ftp.kernel.org/pub/linux/utils/kernel/module-init-tools/
 
 confopt=${confopt//--prefix* /--prefix="" }
 confopt="$confopt --enable-zlib"
 
 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
                }