index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Himadri Bhattacharjee <107522312+lavafroth@users.noreply.github.com> | 2023-06-28 11:42:53 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-28 13:42:53 +0200 |
commit | 1ae1f2ff1144d502830834ba5a64262f7d195e91 (patch) | |
tree | 4881eb8249a4f144cc4678c7c9dfafca56e55d1a /archinstall/lib/packages | |
parent | 57ebc42ffd64babb121c940caa3c5ff415062162 (diff) |
-rw-r--r-- | archinstall/lib/packages/packages.py | 4 |
diff --git a/archinstall/lib/packages/packages.py b/archinstall/lib/packages/packages.py index 71818ca5..b71b0ce8 100644 --- a/archinstall/lib/packages/packages.py +++ b/archinstall/lib/packages/packages.py @@ -8,7 +8,7 @@ from urllib.request import urlopen from ..exceptions import PackageError, SysCallError from ..models.gen import PackageSearch, PackageSearchResult, LocalPackage -from ..pacman import run_pacman +from ..pacman import Pacman BASE_URL_PKG_SEARCH = 'https://archlinux.org/packages/search/json/' # BASE_URL_PKG_CONTENT = 'https://archlinux.org/packages/search/json/' @@ -106,7 +106,7 @@ def validate_package_list(packages :list) -> Tuple[list, list]: def installed_package(package :str) -> LocalPackage: package_info = {} try: - for line in run_pacman(f"-Q --info {package}"): + for line in Pacman.run(f"-Q --info {package}"): if b':' in line: key, value = line.decode().split(':', 1) package_info[key.strip().lower().replace(' ', '_')] = value.strip() |