From 4cdff32772d1fba9b9bc6dbd3271a0fa782707be Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Fri, 19 Apr 2024 18:58:15 +0300 Subject: [PATCH] Fixed for progress bar --- slpkg/binaries/install.py | 6 +----- slpkg/sbos/slackbuild.py | 1 - 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/slpkg/binaries/install.py b/slpkg/binaries/install.py index a8bbc7f9..ac7cb15e 100644 --- a/slpkg/binaries/install.py +++ b/slpkg/binaries/install.py @@ -62,11 +62,7 @@ class Packages(Configs): self.packages: list = self.utils.apply_package_pattern(data, packages) def execute(self) -> None: - if self.option_for_progress_bar: - self.bar_progress() - else: - print('\rResolving dependencies... ', end='') - + self.bar_progress() self.creating_dependencies_list() self.choose_package_dependencies() self.add_dependencies_to_install_order() diff --git a/slpkg/sbos/slackbuild.py b/slpkg/sbos/slackbuild.py index f6da25c4..2e7fe7ce 100644 --- a/slpkg/sbos/slackbuild.py +++ b/slpkg/sbos/slackbuild.py @@ -72,7 +72,6 @@ class Slackbuilds(Configs): def execute(self) -> None: self.bar_progress() - self.creating_dependencies_list() self.choose_package_dependencies() self.add_dependencies_to_install_order()