wok-4.x rev 12461
fix symlinks (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 28 10:39:50 2017 +0200 (2017-04-28) |
parents | 1c5686cd4004 |
children | 258b8d3b3004 |
files | erlang/receipt itaka/receipt |
line diff
1.1 --- a/erlang/receipt Fri Apr 28 09:09:24 2017 +0200 1.2 +++ b/erlang/receipt Fri Apr 28 10:39:50 2017 +0200 1.3 @@ -50,6 +50,7 @@ 1.4 { 1.5 cp -a $_pkg/usr $fs 1.6 for i in $(cd $fs/usr/bin; ls *); do 1.7 + rm -f $fs/usr/bin/$i 1.8 ln -s ../lib/erlang/bin/$i $fs/usr/bin/$i 1.9 done 1.10 }
2.1 --- a/itaka/receipt Fri Apr 28 09:09:24 2017 +0200 2.2 +++ b/itaka/receipt Fri Apr 28 10:39:50 2017 +0200 2.3 @@ -21,7 +21,7 @@ 2.4 # Rules to gen a SliTaz package suitable for Tazpkg. 2.5 genpkg_rules() 2.6 { 2.7 - mkdir -p $fs/usr/share 2.8 + mkdir -p $fs/usr/share $fs/usr/bin 2.9 cp -a $_pkg/usr/lib $fs/usr 2.10 cp -a $_pkg/usr/share/itaka $fs/usr/share 2.11 ln -s ../lib/itaka/itaka.py $fs/usr/bin/itaka