wok-next 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 | acac501e1bff |
children | ec697b8b2555 |
files | linmodem-intel-536ep/receipt linmodem-intel-537/receipt |
line diff
1.1 --- a/linmodem-intel-536ep/receipt Mon Jan 31 23:45:17 2011 +0000 1.2 +++ b/linmodem-intel-536ep/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 @@ -58,6 +59,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
2.1 --- a/linmodem-intel-537/receipt Mon Jan 31 23:45:17 2011 +0000 2.2 +++ b/linmodem-intel-537/receipt Tue Feb 01 00:02:47 2011 +0000 2.3 @@ -16,7 +16,8 @@ 2.4 compile_rules() { 2.5 2.6 KERNEL_VERSION=`grep ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'` 2.7 - cd $WOK/$PACKAGE/intel-536-537 2.8 + [ -d $WOK/$PACKAGE/intel-536-537 ] && cd $WOK/$PACKAGE/intel-536-537 2.9 + [ -d $src ] && cd $src 2.10 2.11 while read file; do 2.12 [ -f done.$file ] && continue 2.13 @@ -59,6 +60,6 @@ 2.14 post_remove() 2.15 { 2.16 echo "Processing post-remove commands..." 2.17 - depmod -a 2.18 + chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz 2.19 } 2.20