diff --git a/slpkg/checks.py b/slpkg/checks.py index 874ac698..8cc46435 100644 --- a/slpkg/checks.py +++ b/slpkg/checks.py @@ -16,6 +16,7 @@ class Check: sbo_repo_tag: str = Configs.sbo_repo_tag db_path: str = Configs.db_path database_name: str = Configs.database + etc_path: str = Configs.etc_path def exists(self, slackbuilds: list): ''' Checking if the slackbuild exists in the repository. ''' @@ -60,7 +61,8 @@ class Check: if packages: raise SystemExit( f'\nThe packages \'{", ".join(packages)}\' is blacklisted.\n' - 'Please edit the blacklist.yml file in /etc/slpkg folder.\n') + f'Please edit the blacklist.yml file in {self.etc_path} ' + 'folder.\n') def database(self): ''' Checking for empty table '''