diff --git a/slpkg/slackbuild.py b/slpkg/slackbuild.py index 75b4257c..25e56fc5 100644 --- a/slpkg/slackbuild.py +++ b/slpkg/slackbuild.py @@ -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. ''' diff --git a/slpkg/views/views.py b/slpkg/views/views.py index 9cb1d89a..f2bfb6d4 100644 --- a/slpkg/views/views.py +++ b/slpkg/views/views.py @@ -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"]}] -> '