diff options
Diffstat (limited to 'yocto-poky/meta/recipes-devtools/rpm/rpm-4.11.2/pythondeps.sh')
-rwxr-xr-x | yocto-poky/meta/recipes-devtools/rpm/rpm-4.11.2/pythondeps.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/yocto-poky/meta/recipes-devtools/rpm/rpm-4.11.2/pythondeps.sh b/yocto-poky/meta/recipes-devtools/rpm/rpm-4.11.2/pythondeps.sh new file mode 100755 index 000000000..083b174f1 --- /dev/null +++ b/yocto-poky/meta/recipes-devtools/rpm/rpm-4.11.2/pythondeps.sh @@ -0,0 +1,16 @@ +#!/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 |