wok diff kqemu/receipt @ rev 4398
Up: pidgin (2.6.3)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sun Oct 18 12:19:16 2009 +0000 (2009-10-18) |
parents | 37a6d35387dd |
children | 9bac91257596 |
line diff
1.1 --- a/kqemu/receipt Mon May 25 09:12:59 2009 +0200 1.2 +++ b/kqemu/receipt Sun Oct 18 12:19:16 2009 +0000 1.3 @@ -38,16 +38,14 @@ 1.4 post_install() 1.5 { 1.6 if [ -d $1/etc/udev ]; then 1.7 - echo 'KERNEL=="kqemu", NAME="%k", MODE="0666"' \ 1.8 - > $1/etc/udev/rules.d/60-kqemu.rules 1.9 - echo "/etc/udev/rules.d/60-kqemu.rules" >> \ 1.10 - $INSTALLED/$PACKAGE/files.list 1.11 + file=/etc/udev/rules.d/60-kqemu.rules 1.12 + echo 'KERNEL=="kqemu", NAME="%k", MODE="0666"' > $1$file 1.13 + tazpkg reconfigure udev --root=$1 1.14 else 1.15 - mknod _pkg/dev/kqemu c 250 0 1.16 - chmod 666 _pkg/dev/kqemu 1.17 - echo "/dev/kqemu" >> \ 1.18 - $INSTALLED/$PACKAGE/files.list 1.19 + file=/dev/kqemu 1.20 + mknod -m 666 $1$file c 250 0 1.21 fi 1.22 + echo "$file" >> $INSTALLED/$PACKAGE/files.list 1.23 chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz 1.24 } 1.25