From e0b835de12cda0b0186a28251dd3f91c96f61d8e Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Wed, 3 Apr 2024 17:43:12 +0300 Subject: [PATCH] Fix for compare versions --- slpkg/upgrade.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/slpkg/upgrade.py b/slpkg/upgrade.py index bd0691f4..a9d36d59 100644 --- a/slpkg/upgrade.py +++ b/slpkg/upgrade.py @@ -90,6 +90,8 @@ class Upgrade(Configs): repo_package: str = self.data[inst_name]['package'] if installed != repo_package[:-4]: return True + elif installed == repo_package[:-4]: + return False self._write_log_file(installed, inst_name, err) return False return False