mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-17 06:11:35 +01:00
Removed for upgradeable
This commit is contained in:
parent
298ee15dcf
commit
35e46730c4
1 changed files with 2 additions and 3 deletions
|
@ -61,9 +61,8 @@ class ViewMessage(Configs):
|
|||
if mode == 'upgrade':
|
||||
color: str = self.violet
|
||||
|
||||
# If the package is installed and not upgradeable change the color to gray.
|
||||
if (package in self.all_installed and mode == 'install' and
|
||||
not self.utils.is_package_upgradeable(package)):
|
||||
# If the package is installed and change the color to gray.
|
||||
if package in self.all_installed and mode == 'install':
|
||||
color = self.grey
|
||||
|
||||
self.ascii.draw_view_package(package, version, color, repo)
|
||||
|
|
Loading…
Reference in a new issue