From 076e739a5a43e0c20a92a701694284e51fa08553 Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Mon, 3 Apr 2023 10:06:52 +0300 Subject: [PATCH] Fixed upgrade dependencies --- ChangeLog.txt | 2 ++ slpkg/sbos/slackbuild.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog.txt b/ChangeLog.txt index 02ef6ee0..03057fe4 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,6 +1,8 @@ 4.7.2 - 02/04/2023 Updated: - Packaging parse versions +Fixed: +- Upgrade dependencies without -r option 4.7.1 - 02/04/2023 Fixed: diff --git a/slpkg/sbos/slackbuild.py b/slpkg/sbos/slackbuild.py index ea08aa25..90730ecf 100644 --- a/slpkg/sbos/slackbuild.py +++ b/slpkg/sbos/slackbuild.py @@ -142,7 +142,7 @@ class Slackbuilds(Configs): if not self.utils.is_package_installed(name) and self.mode != 'build': return True - if not self.upgrade.is_package_upgradeable(name) and self.mode != 'build': + if not self.upgrade.is_package_upgradeable(name) and self.mode not in ['build', 'upgrade']: return False return True