mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-30 20:34:38 +01:00
Updated with config
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
parent
f08b54e9d7
commit
5a2ac83b2a
1 changed files with 3 additions and 1 deletions
|
@ -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 '''
|
||||
|
|
Loading…
Add table
Reference in a new issue