Removed for upgradeable

This commit is contained in:
Dimitris Zlatanidis 2023-03-26 09:29:46 +03:00
parent 298ee15dcf
commit 35e46730c4

View file

@ -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)