wok-current 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 7f6407f6268c
children 2de1df5c36c1
files grep/receipt
line diff
     1.1 --- a/grep/receipt	Sat Mar 19 19:13:16 2016 +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  }