logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git
commit: d0ec94ef0a73c3d4e12c6120ea3884a7815b266e
parent 8fc18edcea1df5a91f60ded42fd87f165ea00a2c
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Fri, 11 Aug 2023 13:32:07 +0200

dev-nodejs/semver: fixup installation failure due to missing ./lib

Diffstat:

Mdev-nodejs/semver/semver-7.5.4.ebuild6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/dev-nodejs/semver/semver-7.5.4.ebuild b/dev-nodejs/semver/semver-7.5.4.ebuild @@ -26,7 +26,11 @@ src_install() { cat package.json | jq -r .files[] | while read pkg do - doins -r "$pkg" + if test -e "$pkg"; then + doins -r "$pkg" + else + echo "Warning: package.json references '$pkg' but it wasn't found" + fi done fperms 755 "${NODEJS_SITELIB}${PN}/bin/semver.js"