busybox: create /usr/bin/vi symlink to make some commands work out of the box.

This commit is contained in:
Juan RP 2011-10-21 17:40:13 +02:00
parent aa8a26209b
commit b58b581975
1 changed files with 4 additions and 0 deletions

View File

@ -1,6 +1,7 @@
# Build template for 'busybox'.
pkgname=busybox
version=1.19.2
revision=1
homepage="http://www.busybox.net"
distfiles="${homepage}/downloads/busybox-$version.tar.bz2"
build_style=custom-install
@ -36,4 +37,7 @@ do_install()
{
vinstall busybox 755 bin
vinstall docs/busybox.1 644 usr/share/man/man1
# Create /usr/bin/vi symlink for base.
vmkdir usr/bin
cd ${DESTDIR}/usr/bin && ln -sf ../../bin/busybox vi
}