mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-12-31 10:26:39 +01:00
Updated for messages
This commit is contained in:
parent
aceb844afd
commit
e96b0ed815
1 changed files with 2 additions and 2 deletions
|
@ -258,7 +258,7 @@ class Slackbuilds(Configs):
|
||||||
execute: str = self.reinstall
|
execute: str = self.reinstall
|
||||||
|
|
||||||
message: str = f'{self.cyan}Installing{self.endc}'
|
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':
|
if self.mode == 'upgrade':
|
||||||
self.process_message: str = f"package '{pkg}' to upgrade"
|
self.process_message: str = f"package '{pkg}' to upgrade"
|
||||||
|
@ -330,7 +330,7 @@ class Slackbuilds(Configs):
|
||||||
if not p1.is_alive():
|
if not p1.is_alive():
|
||||||
|
|
||||||
if p1.exitcode != 0:
|
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()
|
p2.terminate()
|
||||||
print(f'{self.endc}{done}', end='')
|
print(f'{self.endc}{done}', end='')
|
||||||
|
|
Loading…
Reference in a new issue