summaryrefslogtreecommitdiff
path: root/testeAbhaengigkeiten
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-05-18 09:28:42 +0200
committerErich Eckner <git@eckner.net>2020-05-18 09:28:42 +0200
commit102b931a18d3df3e93bc9daba3df092d54700966 (patch)
treee59976b0fe75d9de26205dcdad5a1c93d35faadf /testeAbhaengigkeiten
parentb49d06a34869942ce5463b43b3fb4dfb5483d6ae (diff)
downloadarchlinuxewe-102b931a18d3df3e93bc9daba3df092d54700966.tar.xz
pythonFunktionen, testeAbhaengigkeiten: correctly handle pure python3 packages
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]