wok-6.x diff linux-source/receipt @ rev 22315

updated xtrkcad and xtrkcad-dev (4.0.3a1 -> 5.1.2a)
author Hans-G?nter Theisgen
date Thu Nov 14 11:00:47 2019 +0100 (2019-11-14)
parents 86790a278e70
children
line diff
     1.1 --- a/linux-source/receipt	Tue Aug 07 23:03:21 2018 +0200
     1.2 +++ b/linux-source/receipt	Thu Nov 14 11:00:47 2019 +0100
     1.3 @@ -37,3 +37,15 @@
     1.4  	ln -s /usr/src/linux-$VERSION \
     1.5  		$fs/lib/modules/$VERSION-slitaz/source
     1.6  }
     1.7 +
     1.8 +# Pre and post install commands for Tazpkg.
     1.9 +post_install()
    1.10 +{
    1.11 +	rm $1/usr/src/linux 2> /dev/null
    1.12 +	ln -s linux-$VERSION $1/usr/src/linux
    1.13 +}
    1.14 +
    1.15 +pre_remove()
    1.16 +{
    1.17 +	rm $1/usr/src/linux 2> /dev/null
    1.18 +}