# HG changeset patch # User Christopher Rogers # Date 1296518567 0 # Node ID bfcae602a498c841cd570c6479883f753a0153b0 # Parent acac501e1bfffdf35bf092bbb84ae2ac220b5f51 Fixed linmodem-intel-536ep and linmodem-intel-537 again. diff -r acac501e1bff -r bfcae602a498 linmodem-intel-536ep/receipt --- a/linmodem-intel-536ep/receipt Mon Jan 31 23:45:17 2011 +0000 +++ b/linmodem-intel-536ep/receipt Tue Feb 01 00:02:47 2011 +0000 @@ -16,7 +16,8 @@ compile_rules() { KERNEL_VERSION=`grep ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'` - cd $WOK/$PACKAGE/intel-536-537 + [ -d $WOK/$PACKAGE/intel-536-537 ] && cd $WOK/$PACKAGE/intel-536-537 + [ -d $src ] && cd $src while read file; do [ -f done.$file ] && continue @@ -58,6 +59,6 @@ post_remove() { echo "Processing post-remove commands..." - depmod -a + chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz } diff -r acac501e1bff -r bfcae602a498 linmodem-intel-537/receipt --- a/linmodem-intel-537/receipt Mon Jan 31 23:45:17 2011 +0000 +++ b/linmodem-intel-537/receipt Tue Feb 01 00:02:47 2011 +0000 @@ -16,7 +16,8 @@ compile_rules() { KERNEL_VERSION=`grep ^VERSION= $WOK/linux/receipt | cut -d "=" -f2 | sed -e 's/"//g'` - cd $WOK/$PACKAGE/intel-536-537 + [ -d $WOK/$PACKAGE/intel-536-537 ] && cd $WOK/$PACKAGE/intel-536-537 + [ -d $src ] && cd $src while read file; do [ -f done.$file ] && continue @@ -59,6 +60,6 @@ post_remove() { echo "Processing post-remove commands..." - depmod -a + chroot "$1/" depmod -a ${EXTRAVERSION#_}-slitaz }