This commit is contained in:
Dimitris Zlatanidis 2024-04-20 22:34:34 +03:00
parent 89a5198c4a
commit 0447f899d3

View file

@ -93,8 +93,8 @@ class Upgrade(Configs):
repo_build: str = self.data[inst_name]['build']
inst_version: str = self.utils.split_package(installed)['version']
if (self.kernel_version and self.repository in [self.repos.sbo_repo_name, self.repos.ponce_repo_name]
and inst_version.endswith(f'_{self.kernel_ver}')):
if (self.kernel_version and self.repository in [self.repos.sbo_repo_name, self.repos.ponce_repo_name] and
inst_version.endswith(f'_{self.kernel_ver}')):
inst_version: str = inst_version.replace(f'_{self.kernel_ver}', '')
inst_build: str = self.utils.split_package(installed)['build']