remove failing part

This commit is contained in:
Ricardo (XenGi) Band 2022-03-31 18:21:30 +02:00
parent 90f96891a5
commit 2e035d836b
No known key found for this signature in database
GPG key ID: 82EC31D62AB2DCE4

View file

@ -32,12 +32,12 @@ package() {
mv "$tmppackage" "$pkgjson" mv "$tmppackage" "$pkgjson"
chmod 644 "$pkgjson" chmod 644 "$pkgjson"
find "$pkgdir" -type f -name package.json | while read pkgjson; do #find "$pkgdir" -type f -name package.json | while read pkgjson; do
local tmppackage="$(mktemp)" # local tmppackage="$(mktemp)"
jq 'del(.man)' "$pkgjson" > "$tmppackage" # jq 'del(.man)' "$pkgjson" > "$tmppackage"
mv "$tmppackage" "$pkgjson" # mv "$tmppackage" "$pkgjson"
chmod 644 "$pkgjson" # chmod 644 "$pkgjson"
done #done
# npm gives ownership of ALL FILES to build user # npm gives ownership of ALL FILES to build user
# https://bugs.archlinux.org/task/63396 # https://bugs.archlinux.org/task/63396