diff --git a/slpkg/slackbuild.py b/slpkg/slackbuild.py index 53f30a1f..95a5f7fc 100644 --- a/slpkg/slackbuild.py +++ b/slpkg/slackbuild.py @@ -152,7 +152,7 @@ class Slackbuilds(Configs): slackbuild = Path(path_build_package, f'{sbo}.SlackBuild') os.chmod(slackbuild, 0o775) else: - print(f"{self.red}Error:{self.endc} package " + print(f"[{self.red}Error{self.endc}]: package " f"'{self.cyan}{sbo}{self.endc}' not found in the repository.") self.view_message.question() self.install_order.remove(sbo) @@ -337,7 +337,7 @@ class Slackbuilds(Configs): def print_error(self) -> None: """ Stop the process and print the error message. """ if self.output != 0: - raise SystemExit(f"\n{self.red}FAILED {self.output}:{self.endc} {self.process_message}.\n") + raise SystemExit(f"\n[{self.red}FAILED{self.endc}]: {self.output}: {self.process_message}.\n") def choose_dependencies(self, dependencies: list) -> list: """ Choose packages for install. """