Message updated

This commit is contained in:
Dimitris Zlatanidis 2024-05-12 18:19:23 +03:00
parent f8adde8dea
commit 860bacc627

View file

@ -284,7 +284,8 @@ class View(Configs): # pylint: disable=[R0902]
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':
custom_message: str = f'\n{self.grey}Note: Packages with custom versions may not be recognized.{self.endc}' custom_message: str = (f'\n{self.grey}Note: Packages with custom versions may not '
f'compare correctly.{self.endc}')
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}')