2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-22 07:10:16 -07:00

nodejs: Remove unneeded files. Closes #212

This commit is contained in:
Dylan Araps 2020-08-06 12:30:02 +03:00
parent f49aad4321
commit 35e7ed0d97
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E

View File

@ -16,5 +16,7 @@ sed -i 's|/ (8|// (8|' tools/gyp/pylib/gyp/generator/ninja.py
ninja -C out/Release
tools/install.py install "$1" /usr
# Remove unneeded headers.
# Remove unneeded files.
rm -rf "$1/usr/include/node/openssl"
rm -rf "$1/usr/lib/node_modules/npm/scripts"
rm -f "$1/usr/lib/node_modules/npm/configure"