hooks/post-install: fix find for executable files, use GNU -executable

This commit is contained in:
maxice8 2018-12-13 10:12:53 -02:00
parent d367fc7c8b
commit 3f5059ae50
No known key found for this signature in database
GPG Key ID: 543B9D4F4299F06B
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ hook() {
fi
if [ -d $PKGDESTDIR/usr/bin ]; then
for x in $(find $PKGDESTDIR/usr/bin -type f -perm +111 -iname '*-config'); do
for x in $(find $PKGDESTDIR/usr/bin -type f -executable -iname '*-config'); do
msg_warn "${x#$PKGDESTDIR\/} should be in -devel package\n"
done
fi