hooks/post-install: fix find for executable files, use GNU -executable
This commit is contained in:
parent
d367fc7c8b
commit
3f5059ae50
|
@ -62,7 +62,7 @@ hook() {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -d $PKGDESTDIR/usr/bin ]; then
|
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"
|
msg_warn "${x#$PKGDESTDIR\/} should be in -devel package\n"
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue