wok diff grep/receipt @ rev 18999

grep: move from /usr/bin to /bin
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Mar 21 11:33:21 2016 +0200 (2016-03-21)
parents c1e55905d29f
children 8563f3c36069
line diff
     1.1 --- a/grep/receipt	Tue Dec 29 23:04:30 2015 +0100
     1.2 +++ b/grep/receipt	Mon Mar 21 11:33:21 2016 +0200
     1.3 @@ -23,13 +23,12 @@
     1.4  # Rules to gen a SliTaz package suitable for Tazpkg.
     1.5  genpkg_rules()
     1.6  {
     1.7 -	mkdir -p $fs/usr
     1.8 -	cp -a $install/usr/bin $fs/usr
     1.9 +	cp -a $install/usr/bin $fs
    1.10  }
    1.11  
    1.12  post_remove()
    1.13  {
    1.14  	for i in grep egrep fgrep; do
    1.15 -		ln -sf /bin/busybox "/usr/bin/$i"
    1.16 +		ln -sf busybox "$1/bin/$i"
    1.17  	done
    1.18  }