Bugfixes install packages

This commit is contained in:
Dimitris Zlatanidis 2023-01-14 18:03:16 +02:00
parent 80e106be2c
commit e28fa4f3c4

View file

@ -148,13 +148,12 @@ class Slackbuilds:
def download_slackbuilds_and_build(self):
""" Downloads files and sources and starting the build. """
inst_ver = '0'
for sbo in self.install_order:
package = self.utils.is_installed(sbo)
if not package or self.utils.is_repo_version_bigger(sbo) or self.mode == 'build' or self.flag_reinstall in self.flags:
if (not package or self.utils.is_repo_version_bigger(sbo) or
self.mode == 'build' or self.flag_reinstall in self.flags):
file = f'{sbo}{self.configs.sbo_tar_suffix}'