From 6423b17ec1e4c4ec9fc2bfe9134af35e131a4e41 Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Sat, 11 May 2024 21:33:43 +0300 Subject: [PATCH] Added message for custom versions Signed-off-by: Dimitris Zlatanidis --- slpkg/views/views.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/slpkg/views/views.py b/slpkg/views/views.py index fd3979d9..c8967415 100644 --- a/slpkg/views/views.py +++ b/slpkg/views/views.py @@ -105,9 +105,11 @@ class View(Configs): # pylint: disable=[R0902] self.set_summary_for_install_and_upgrade(self.sum_install, self.sum_upgrade, self.sum_size_comp, self.sum_size_uncomp) print(self.summary_message) - if mode == 'upgrade' and self.upgrade_log_file.is_file(): - print(f'{self.red}{self.ascii.failed} Some packages failed, ' - f'check the /var/log/slpkg/upgrade.log file.{self.endc}') + if mode == 'upgrade': + print(f'{self.grey}Note: Packages with custom versions may not be recognized.{self.endc}') + if self.upgrade_log_file.is_file(): + print(f'{self.red}{self.ascii.failed} Some packages failed, ' + f'check the /var/log/slpkg/upgrade.log file.{self.endc}') def download_packages(self, packages: list, directory: Path) -> None: """ View packages for download method.