Updated for package method config

This commit is contained in:
Dimitris Zlatanidis 2024-06-02 12:12:23 +03:00
parent fdb9df9d2f
commit f72fbb8d0d

View file

@ -280,7 +280,7 @@ class View(Configs): # pylint: disable=[R0902]
f'will be upgraded, while a total ') f'will be upgraded, while a total ')
total_sizes: str = (f'{self.utils.convert_file_sizes(size_comp)} will be downloaded and ' total_sizes: str = (f'{self.utils.convert_file_sizes(size_comp)} will be downloaded and '
f'{self.utils.convert_file_sizes(size_uncomp)} will be installed.{self.endc}') f'{self.utils.convert_file_sizes(size_uncomp)} will be installed.{self.endc}')
if self.mode == 'upgrade': if self.mode == 'upgrade' and not self.package_method:
if self.upgrade_log_file.is_file(): if self.upgrade_log_file.is_file():
upgrade_message: str = (f'\n{self.red}{self.ascii.failed}Some versions failed, ' upgrade_message: str = (f'\n{self.red}{self.ascii.failed}Some versions failed, '
f'check the /var/log/slpkg/upgrade.log file.{self.endc}') f'check the /var/log/slpkg/upgrade.log file.{self.endc}')