diff --git a/templates/coreutils/template b/templates/coreutils/template index c54e6fee81c..954d5d58b7b 100644 --- a/templates/coreutils/template +++ b/templates/coreutils/template @@ -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 . +}