www-apps/misskey: fix pnpm wrapper and install node_modules
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
887db10ad3
commit
95caf70dd1
|
@ -58,8 +58,8 @@ QA_PREBUILT="
|
||||||
|
|
||||||
pnpm() {
|
pnpm() {
|
||||||
# use the pnpm from nodejs if it isn't available otherwise
|
# use the pnpm from nodejs if it isn't available otherwise
|
||||||
if type pnpm > /dev/null 2>&1; then
|
if [[ -x /usr/bin/pnpm ]] > /dev/null 2>&1; then
|
||||||
pnpm "${@}"
|
/usr/bin/pnpm "${@}"
|
||||||
else
|
else
|
||||||
/usr/$(get_libdir)/node_modules/corepack/dist/pnpm.js "${@}"
|
/usr/$(get_libdir)/node_modules/corepack/dist/pnpm.js "${@}"
|
||||||
fi
|
fi
|
||||||
|
@ -105,7 +105,7 @@ src_install() {
|
||||||
if use source; then
|
if use source; then
|
||||||
doins -r .
|
doins -r .
|
||||||
else
|
else
|
||||||
doins -r package.json .node-version .config built packages
|
doins -r package.json .node-version .config built node_modules packages
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# insopts doesn't affect directories
|
# insopts doesn't affect directories
|
||||||
|
|
Reference in New Issue
Block a user