Updated view installed

This commit is contained in:
Dimitris Zlatanidis 2022-06-24 00:25:33 +03:00
parent 78d6b0916b
commit 18f5dd2243
2 changed files with 3 additions and 4 deletions

View file

@ -84,8 +84,7 @@ class Slackbuilds:
def creating_main_for_build(self):
''' List with the main slackbuilds. '''
for main in self.sbos.keys():
self.install_order.append(main)
[self.install_order.append(main) for main in self.sbos.keys()]
def download_slackbuilds_and_build(self):
''' Downloads files and sources and starting the build. '''

View file

@ -97,8 +97,8 @@ class ViewMessage:
if installed:
print(f'[{set_color} {install} {color["ENDC"]}] -> '
f'{sbo}-{version} -> {set_color}'
f'{installed.split(self.arch)[0][:-1]}'
f'{sbo}-{version} {set_color}'
f'({installed.split(self.arch)[0][:-1].split("-")[-1]})'
f'{color["ENDC"]}')
else:
print(f'[{color["CYAN"]} install {color["ENDC"]}] -> '