summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--PKGBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 65360393023..dabf96bdb3e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -54,8 +54,9 @@ package() {
# sanitize
rm -f "$pkgdir"/opt/$pkgname/bin/{$pkgname.exe,compile.{bat,make}}
- find "$pkgdir" -exec sh -c \
- "file '{}' | grep -qE 'ELF|executable|directory' && chmod 755 '{}' || chmod 644 '{}'" \;
+ # find "$pkgdir" -exec sh -c \
+ # "file '{}' | grep -qE 'ELF|executable|directory' && chmod 755 '{}' || chmod 644 '{}'" \;
+ find "$pkgdir" -exec sh -c "ls -Fd '{}' | grep -q '.*[/\*]$' && chmod 755 '{}' || chmod 644 '{}'" \;
chown -R root:root "$pkgdir"
# symlinks