Updated for messages

This commit is contained in:
Dimitris Zlatanidis 2023-04-02 09:20:34 +03:00
parent aceb844afd
commit e96b0ed815

View file

@ -258,7 +258,7 @@ class Slackbuilds(Configs):
execute: str = self.reinstall
message: str = f'{self.cyan}Installing{self.endc}'
self.process_message: str = f"'{pkg}' to install"
self.process_message: str = f"package '{pkg}' to install"
if self.mode == 'upgrade':
self.process_message: str = f"package '{pkg}' to upgrade"
@ -330,7 +330,7 @@ class Slackbuilds(Configs):
if not p1.is_alive():
if p1.exitcode != 0:
done: str = f'{self.bred}Failed: {self.endc}{self.process_message}'
done: str = f'{self.bred}Failed: {self.endc}{self.process_message}.'
p2.terminate()
print(f'{self.endc}{done}', end='')