Fix for processing

This commit is contained in:
Dimitris Zlatanidis 2024-03-21 12:23:59 +02:00
parent 2827d3e5c5
commit d3e9f2d9e2
2 changed files with 14 additions and 14 deletions

View file

@ -156,11 +156,11 @@ class Packages(Configs):
if self.binary_packages:
print(f'Started the processing of ({self.cyan}{len(self.binary_packages)}{self.endc}) packages:\n')
for package in self.binary_packages:
command: str = f'{self.slackware_command} {self.tmp_slpkg}/{package}'
self.multi_proc.run(command, package, self.progress_message)
name: str = self.utils.split_package(package)['name']
self.write_deps_log(name)
for package in self.binary_packages:
command: str = f'{self.slackware_command} {self.tmp_slpkg}/{package}'
self.multi_proc.run(command, package, self.progress_message)
name: str = self.utils.split_package(package)['name']
self.write_deps_log(name)
def write_deps_log(self, name: str) -> None:
deps: dict = {}

View file

@ -190,16 +190,16 @@ class Slackbuilds(Configs):
if self.install_order:
print(f'Started the processing of ({self.cyan}{len(self.install_order)}{self.endc}) packages:\n')
for sbo in self.install_order:
if self.continue_build_or_install(sbo):
self.patch_slackbuild_tag(sbo)
self.build_the_script(self.build_path, sbo)
for sbo in self.install_order:
if self.continue_build_or_install(sbo):
self.patch_slackbuild_tag(sbo)
self.build_the_script(self.build_path, sbo)
if self.mode in ('install', 'upgrade'):
self.install_package(sbo)
else:
installed_package: str = self.utils.is_package_installed(sbo)
self.view.skipping_packages(installed_package)
if self.mode in ('install', 'upgrade'):
self.install_package(sbo)
else:
installed_package: str = self.utils.is_package_installed(sbo)
self.view.skipping_packages(installed_package)
def patch_slackbuild_tag(self, sbo: str) -> None:
sbo_script: Path = Path(self.build_path, sbo, f'{sbo}.SlackBuild')