diff options
author | Erich Eckner <git@eckner.net> | 2020-05-18 09:28:42 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-05-18 09:28:42 +0200 |
commit | 102b931a18d3df3e93bc9daba3df092d54700966 (patch) | |
tree | e59976b0fe75d9de26205dcdad5a1c93d35faadf /testeAbhaengigkeiten | |
parent | b49d06a34869942ce5463b43b3fb4dfb5483d6ae (diff) | |
download | archlinuxewe-102b931a18d3df3e93bc9daba3df092d54700966.tar.xz |
pythonFunktionen, testeAbhaengigkeiten: correctly handle pure python3 packages
Diffstat (limited to 'testeAbhaengigkeiten')
-rwxr-xr-x | testeAbhaengigkeiten | 7 |
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] |