wok rev 8094

linux-module-headers: fix /usr/src/linux creation
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jan 22 18:04:51 2011 +0100 (2011-01-22)
parents caa46bb4926e
children db902657dc16
files linux-module-headers/receipt
line diff
     1.1 --- a/linux-module-headers/receipt	Sat Jan 22 16:34:57 2011 +0100
     1.2 +++ b/linux-module-headers/receipt	Sat Jan 22 18:04:51 2011 +0100
     1.3 @@ -137,5 +137,6 @@
     1.4  
     1.5  post_install() {
     1.6  	# Added soft link to make it easier to point to kernel folder
     1.7 +	[ -L $1/usr/src/linux ] && rm -f $1/usr/src/linux 
     1.8  	ln -sf /usr/src/linux-$KVERSION $1/usr/src/linux
     1.9  }