wok rev 1094

linux-source: fix removal
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jul 17 11:23:56 2008 +0000 (2008-07-17)
parents 34e504bf5887
children ca4331756d20
files linux-source/receipt
line diff
     1.1 --- a/linux-source/receipt	Thu Jul 17 09:13:52 2008 +0000
     1.2 +++ b/linux-source/receipt	Thu Jul 17 11:23:56 2008 +0000
     1.3 @@ -39,9 +39,13 @@
     1.4  	cp slitaz/config .config
     1.5  }
     1.6  
     1.7 +pre_remove()
     1.8 +{
     1.9 +	rm $(basename $(cat /usr/src/linux-$VERSION-slitaz/slitaz/url))
    1.10 +}
    1.11 +
    1.12  post_remove()
    1.13  {
    1.14 -	rm $(basename $(cat /usr/src/linux-$VERSION-slitaz/slitaz/url))
    1.15  	rm -rf /usr/src/linux-$VERSION-slitaz
    1.16  }
    1.17