I came across a package with application/x-sharedlib binaries where the
filename missed it being included in libs but the mime type missed it be
included in extra bins. This takes care of that.
* usr/bin/list_package (categorise): Binaries from outside
/**/{s,}bin will qualify for all execs if they are executable or a
sharedlib.
Signed-off-by: Steve Youngs <steve@steveyoungs.com>
# Author: Steve Youngs <steve@sxemacs.org>
# Maintainer: Steve Youngs <steve@sxemacs.org>
# Created: <2021-05-04>
-# Time-stamp: <Saturday 29 May 2021 18:45:41 (steve)>
+# Time-stamp: <Friday 18 Jun 2021 15:19:46 (steve)>
# Homepage: https://git.sxemacs.org/pkgusr
# Keywords: pkgusr package-management tools
-x ${PKGASSETS[$i]} ]]; then
EBINS[$E]=${PKGASSETS[$i]}
# add to the list of all execs (not scripts)
- if [[ $(file -i ${EBINS[$E]}) =~ x-executable ]]; then
+ if [[ $(file -i ${EBINS[$E]}) =~ x-(executable|sharedlib) ]]; then
AEXEC[$A]=${EBINS[$E]}
A=$((($A + 1)))
fi