mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 12:58:16 -07:00
sys-apps/gawk: Ensure existence of /bin (for stage1)
Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
This commit is contained in:
@@ -90,6 +90,9 @@ pkg_postinst() {
|
||||
done
|
||||
|
||||
if ! [[ -e ${EROOT}/bin/awk ]] ; then
|
||||
# /bin might not exist yet (stage1)
|
||||
[[ -d "${EROOT}/bin" ]] || mkdir "${EROOT}/bin" || die
|
||||
|
||||
ln -s "../usr/bin/gawk" "${EROOT}/bin/awk" || die
|
||||
fi
|
||||
fi
|
||||
Reference in New Issue
Block a user