mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-02-04 08:46:17 +01:00
Fixed for installed version
This commit is contained in:
parent
67c5155308
commit
d27c353d9e
1 changed files with 6 additions and 1 deletions
|
@ -140,10 +140,15 @@ 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 package:
|
||||
inst_ver = self.utils.split_installed_pkg(package)[1]
|
||||
|
||||
repo_ver = SBoQueries(sbo).version()
|
||||
|
||||
if (self.mode == 'install' and LooseVersion(repo_ver) > LooseVersion(inst_ver) or
|
||||
|
|
Loading…
Add table
Reference in a new issue