fix: make scripts executable when building the plugin (#1255)

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Enhanced script functionality to automatically set correct executable
permissions for files within "scripts" directories, ensuring that all
relevant scripts run as expected.
- Added symbolic link management for various Node.js binaries, improving
accessibility and organization within the application.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
Eli Bosley
2025-03-19 21:13:30 -04:00
committed by GitHub
parent ad3906e682
commit 7bc9949110
6 changed files with 201 additions and 0 deletions
+3
View File
@@ -391,6 +391,9 @@ if [ "$CHOWN" = "y" ]; then
fi
$SUDO find . -type d -exec chmod 755 {} + || exit 1
$SUDO find . -type d -name scripts -exec find {} -type f \; | while read -r file; do
$SUDO chmod +x "$file"
done
$SUDO find . -exec chown 0:0 {} + || exit 1
set +e
fi