mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-30 20:34:38 +01:00
Updated if statement
This commit is contained in:
parent
53bab6d884
commit
c692ebdc34
1 changed files with 3 additions and 5 deletions
|
@ -41,11 +41,9 @@ class ViewMessage:
|
|||
|
||||
def view_packages(self, package, version, mode):
|
||||
""" Printing the main packages. """
|
||||
color = ''
|
||||
if mode == 'install':
|
||||
color = self.cyan
|
||||
if self.utils.is_installed(package):
|
||||
color = self.grey
|
||||
color = self.cyan
|
||||
if mode == 'install' and self.utils.is_installed(package):
|
||||
color = self.grey
|
||||
if mode == 'remove':
|
||||
color = self.red
|
||||
if mode == 'build':
|
||||
|
|
Loading…
Add table
Reference in a new issue