wok rev 24789

grep: add post_install (install)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 21 09:36:52 2022 +0000 (2022-03-21)
parents 125ccb253e50
children 1124e71377d3
files grep/receipt
line diff
     1.1 --- a/grep/receipt	Mon Mar 21 09:31:32 2022 +0000
     1.2 +++ b/grep/receipt	Mon Mar 21 09:36:52 2022 +0000
     1.3 @@ -43,7 +43,7 @@
     1.4  	for i in grep egrep fgrep
     1.5  	  do
     1.6  		[ "$(readlink "$1/bin/$i")" = "busybox" ] &&
     1.7 -		rm -f "$1/bin/$i"
     1.8 +		ln -sf "../usr/bin/$i" "$1/bin/$i"
     1.9  	  done
    1.10  }
    1.11