update-check: handle python3-only modules from pypi

This commit is contained in:
Piotr Wójcik 2019-01-02 17:19:26 +01:00 committed by maxice8
parent 39435a5185
commit 9c8ef3d6a9
1 changed files with 1 additions and 0 deletions

View File

@ -43,6 +43,7 @@ update_check() {
pkgname=${pkgname#perl-};;
*pythonhosted.org*)
pkgname=${pkgname#python-}
pkgname=${pkgname#python3-}
url="https://pypi.org/simple/$pkgname";;
*github.com*)
githubname="$(printf %s "$url" | cut -d/ -f4,5)"