diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2022-04-09 14:32:03 +0200 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2022-04-09 14:33:09 +0200 |
commit | dfe04a4facac0bdfb2377c66f6b13208999727bb (patch) | |
tree | 8054da83b1b4537f2a09a1f6353afade60fb1a74 /sys-apps/gawk | |
parent | dev-libs/raft: add 0.13.0 (diff) | |
download | gentoo-dfe04a4facac0bdfb2377c66f6b13208999727bb.tar.gz gentoo-dfe04a4facac0bdfb2377c66f6b13208999727bb.tar.bz2 gentoo-dfe04a4facac0bdfb2377c66f6b13208999727bb.zip |
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>
Diffstat (limited to 'sys-apps/gawk')
-rw-r--r-- | sys-apps/gawk/gawk-5.1.1-r2.ebuild (renamed from sys-apps/gawk/gawk-5.1.1-r1.ebuild) | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys-apps/gawk/gawk-5.1.1-r1.ebuild b/sys-apps/gawk/gawk-5.1.1-r2.ebuild index f4bd1b3e5971..66f9b1b312de 100644 --- a/sys-apps/gawk/gawk-5.1.1-r1.ebuild +++ b/sys-apps/gawk/gawk-5.1.1-r2.ebuild @@ -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 |