coreutils: provide a /usr/bin/env symlink.

--HG--
extra : convert_revision : 50b94c4f0244e38aa8c42454d7b28a6b6d71716d
This commit is contained in:
Juan RP 2009-03-08 22:31:53 +01:00
parent 5e1e75b546
commit 0ecf896857

View File

@ -19,3 +19,12 @@ long_desc="
base_chroot=yes
Add_dependency run glibc
post_install()
{
local destdir=$XBPS_DESTDIR/$pkgname-$version
# Most programs expect /usr/bin/env.
install -d ${destdir}/usr/bin
cd ${destdir}/usr/bin && ln -s ../../bin/env .
}