Updated for files

This commit is contained in:
Dimitris Zlatanidis 2023-03-18 17:52:39 +02:00
parent f46fbb74ee
commit 12de44fb3d

View file

@ -32,8 +32,8 @@ class Blacklist(Configs):
return tomli.load(black)['BLACKLIST']['PACKAGES']
except (tomli.TOMLDecodeError, KeyError) as error:
raise SystemExit(f"\n{self.prog_name} {self.bred}Error{self.endc}: {error}: in the configuration file "
f"'/etc/slpkg/blacklist.toml'.\n"
f"'{self.blacklist_file_toml}'.\n"
f"\nIf you have upgraded the '{self.prog_name}' probably you need to run:\n"
f"'mv {self.etc_path}/blacklist.toml.new {self.etc_path}/blacklist.toml'.\n"
f"'mv {self.blacklist_file_toml}.new {self.blacklist_file_toml}'.\n"
f"or '{self.cyan}slpkg_new-configs{self.endc}' command.\n")
return []