M7350/oe-core/meta/recipes-devtools/rpm/rpm-4.11.2/pythondeps.sh
2024-09-09 08:57:42 +00:00

17 lines
207 B
Bash
Executable File

#!/bin/sh
[ $# -ge 1 ] || {
cat > /dev/null
exit 0
}
case $1 in
-R|--requires)
shift
grep "/usr/\(lib[^/]*\|share\)/python[^/]*/" >/dev/null && echo "python"
exit 0
;;
esac
exit 0