wok diff shfs/receipt @ rev 260
Add testdisk (data recovery tool)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Feb 24 20:42:02 2008 +0100 (2008-02-24) |
parents | 03c66d91b55f |
children | 3bac1508116b |
line diff
1.1 --- a/shfs/receipt Mon Feb 18 14:32:36 2008 +0100 1.2 +++ b/shfs/receipt Sun Feb 24 20:42:02 2008 +0100 1.3 @@ -15,10 +15,13 @@ 1.4 compile_rules() 1.5 { 1.6 local kver 1.7 + if [ ! -d ../linux/taz ]; then 1.8 + tazwok cook linux 1.9 + fi 1.10 kver=$(grep "kernel version" ../linux/linux-*/.config) 1.11 kver=${kver##* } 1.12 cd $PACKAGE-$VERSION 1.13 - patch -p0 < ../stuff/$PACKAGE-$VERSION-$kver.u 1.14 + patch -Np0 < ../stuff/$PACKAGE-$VERSION-$kver.u 1.15 while read subs ; do 1.16 perl -pi -e "$subs" Makefile 1.17 done << EOF 1.18 @@ -40,9 +43,14 @@ 1.19 strip -s $fs/usr/bin/* 1.20 } 1.21 1.22 -# Pre and post install commands for Tazpkg. 1.23 +# Post install/remove commands for Tazpkg. 1.24 post_install() 1.25 { 1.26 depmod -a 1.27 } 1.28 1.29 +post_remove() 1.30 +{ 1.31 + depmod -a 1.32 +} 1.33 +