wok rev 14187
coreutils: fix busybox cp link
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Tue Mar 12 17:43:42 2013 +0100 (2013-03-12) |
parents | 38ac53297dd0 |
children | 1008a51f2c87 |
files | coreutils/receipt |
line diff
1.1 --- a/coreutils/receipt Mon Mar 11 20:31:30 2013 +0100 1.2 +++ b/coreutils/receipt Tue Mar 12 17:43:42 2013 +0100 1.3 @@ -67,7 +67,6 @@ 1.4 cp -a $install/usr/bin/split $fs/usr/bin 1.5 cp -a $install/usr/bin/users $fs/usr/bin 1.6 cp -a $install/usr/bin/groups $fs/usr/bin 1.7 - # we need busybox cp for installing the pkg 1.8 cp -a $install/usr/bin/cp $fs/usr/bin 1.9 } 1.10 1.11 @@ -79,6 +78,7 @@ 1.12 local root 1.13 root=$1 1.14 echo "Processing pre-install commands..." 1.15 + # we keed busybox cp for installing the pkg 1.16 echo -n "Removing Busybox replaced utils... " 1.17 rm -f $root/usr/bin/od $root/usr/bin/split 1.18 status 1.19 @@ -96,6 +96,7 @@ 1.20 { 1.21 ln -s ../../bin/busybox $1/usr/bin/od 1.22 ln -s ../../bin/busybox $1/usr/bin/split 1.23 + rm -f $1/bin/cp 1.24 ln -s busybox $1/bin/cp 1.25 } 1.26