mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-20 10:26:44 +01:00
Removed unused
This commit is contained in:
parent
1fe2112fcf
commit
37736f7847
1 changed files with 2 additions and 9 deletions
|
@ -747,6 +747,8 @@ class Update:
|
|||
raise SystemExit()
|
||||
|
||||
def check_db(self):
|
||||
"""Checking if the table exists
|
||||
"""
|
||||
sbo_db = Database("sbo", "SLACKBUILDS.TXT")
|
||||
if sbo_db.table_exists() == 0:
|
||||
sbo_db.create_sbo_table()
|
||||
|
@ -758,15 +760,6 @@ class Update:
|
|||
f"{self.endc}", end="", flush=True)
|
||||
|
||||
|
||||
def database(text_file):
|
||||
db_lib = _meta_.lib_path + "database"
|
||||
init = Initialization(False)
|
||||
init.make_dirs([db_lib])
|
||||
data = Database("sbo", text_file)
|
||||
data.create_sbo_table()
|
||||
data.insert_sbo_table()
|
||||
|
||||
|
||||
def check_exists_repositories(repo):
|
||||
"""Checking if repositories exists by PACKAGES.TXT file
|
||||
"""
|
||||
|
|
Loading…
Reference in a new issue