Fixed for space

Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
Dimitris Zlatanidis 2024-05-31 17:05:41 +03:00
parent e5b3419914
commit a57589afe2

View file

@ -282,7 +282,7 @@ class View(Configs): # pylint: disable=[R0902]
f'{self.utils.convert_file_sizes(size_uncomp)} will be installed.{self.endc}')
if self.mode == 'upgrade':
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}')
else:
upgrade_message: str = (f'\n{self.grey}Note: Packages with custom versions may not '