wok diff linmodem-intel-537/receipt @ rev 8307
Fixed linmodem-intel-536ep and linmodem-intel-537 again.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Feb 01 00:02:47 2011 +0000 (2011-02-01) |
parents | ad6487ac4314 |
children | 08fb5e3d3f5e |
line diff
1.1 --- a/linmodem-intel-537/receipt Sun Jan 30 16:24:20 2011 +0000 1.2 +++ b/linmodem-intel-537/receipt Tue Feb 01 00:02:47 2011 +0000 1.3 @@ -16,7 +16,8 @@ 1.4 compile_rules() { 1.5 1.6 KERNEL_VERSION=`grep ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'` 1.7 - cd $WOK/$PACKAGE/intel-536-537 1.8 + [ -d $WOK/$PACKAGE/intel-536-537 ] && cd $WOK/$PACKAGE/intel-536-537 1.9 + [ -d $src ] && cd $src 1.10 1.11 while read file; do 1.12 [ -f done.$file ] && continue 1.13 @@ -59,6 +60,6 @@ 1.14 post_remove() 1.15 { 1.16 echo "Processing post-remove commands..." 1.17 - depmod -a 1.18 + chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz 1.19 } 1.20