mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-11-16 07:47:35 +01:00
Updated for message
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
parent
496a2be06b
commit
8947b061ee
2 changed files with 9 additions and 3 deletions
|
@ -1,9 +1,14 @@
|
|||
## slpkg - ChangeLog
|
||||
|
||||
### 5.1.0 - 24/05/2024
|
||||
|
||||
- Updated:
|
||||
* Updated message for invalid package version
|
||||
|
||||
### 5.0.9 - 23/05/2024
|
||||
|
||||
- Added:
|
||||
* Inform message for invalid package version with the upgrade command
|
||||
* Inform message for invalid package version with the upgrade commandy
|
||||
* Config to delete sources after build or install packages
|
||||
|
||||
### 5.0.8 - 10/05/2024
|
||||
|
|
|
@ -282,11 +282,12 @@ class View(Configs): # pylint: disable=[R0902]
|
|||
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}')
|
||||
if self.mode == 'upgrade':
|
||||
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():
|
||||
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:
|
||||
custom_message: str = (f'\n{self.grey}Note: Packages with custom versions may not '
|
||||
f'compare correctly.{self.endc}')
|
||||
self.summary_message: str = f'{total_packages}{split_message}{total_sizes}{custom_message}{upgrade_message}'
|
||||
|
||||
def set_summary_for_remove(self, remove: int, size_rmv: int) -> None:
|
||||
|
|
Loading…
Reference in a new issue