index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Daniel <blackrabbit256@gmail.com> | 2022-02-12 21:47:51 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-12 11:47:51 +0100 |
commit | 003a35be3d908431c25f7fa9d7a7dd6beb8e0fe1 (patch) | |
tree | f7a6dd321bed2ff2a17f438847532efb6d1eda97 /examples/guided.py | |
parent | 16716d94ebf5197f9c4c0e8cbc50709b4e6931ef (diff) |
-rw-r--r-- | examples/guided.py | 4 |
diff --git a/examples/guided.py b/examples/guided.py index 16fda4c3..7af7f57c 100644 --- a/examples/guided.py +++ b/examples/guided.py @@ -241,10 +241,12 @@ if not (archinstall.check_mirror_reachable() or archinstall.arguments.get('skip- exit(1) if not archinstall.arguments.get('offline', False): + latest_version_archlinux_keyring = max([k.pkg_version for k in archinstall.find_package('archlinux-keyring')]) + # If we want to check for keyring updates # and the installed package version is lower than the upstream version if archinstall.arguments.get('skip-keyring-update', False) is False and \ - archinstall.installed_package('archlinux-keyring') < archinstall.find_package('archlinux-keyring'): + archinstall.installed_package('archlinux-keyring').version < latest_version_archlinux_keyring: # Then we update the keyring in the ISO environment if not archinstall.update_keyring(): |