summaryrefslogtreecommitdiff
path: root/testeAbhaengigkeiten
diff options
context:
space:
mode:
Diffstat (limited to 'testeAbhaengigkeiten')
-rwxr-xr-xtesteAbhaengigkeiten7
1 files changed, 6 insertions, 1 deletions
diff --git a/testeAbhaengigkeiten b/testeAbhaengigkeiten
index ece1fa1a5..e76bd5da2 100755
--- a/testeAbhaengigkeiten
+++ b/testeAbhaengigkeiten
@@ -24,7 +24,12 @@ if [ "${paket#perl-}" != "${paket}" ]; then
elif [ "${paket#python-}" != "${paket}" ]; then
- . pythonFunktionen
+ if ( . "$1/PKGBUILD"; printf '%s\n' "${pkgname[@]}"; ) \
+ | grep -qF 'python2-'; then
+ . pythonFunktionen python2
+ else
+ . pythonFunktionen python
+ fi
ladePkgbuild "${paket}" || exit $[$?-1]