mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-11-16 07:47:35 +01:00
Added message for custom versions
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
parent
3b1ec35e67
commit
6423b17ec1
1 changed files with 5 additions and 3 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue