diff --git a/usr/lib/akshara/utils/helpers.py b/usr/lib/akshara/utils/helpers.py index 952923f..9650005 100644 --- a/usr/lib/akshara/utils/helpers.py +++ b/usr/lib/akshara/utils/helpers.py @@ -138,10 +138,10 @@ def is_already_latest() -> bool: json.dumps(system_config, ensure_ascii=False).strip() == contents.strip() ): - if len(system_config["distro-config"]["needs-update"]) == 0: + if len(system_config["needs-update"]) == 0: return False - for update_check in system_config["distro-config"]["needs-update"]: + for update_check in system_config["needs-update"]: if ( subprocess.run( ["bash", "-s"],