Removed unused

This commit is contained in:
Dimitris Zlatanidis 2022-05-29 17:14:21 +03:00
parent 1fe2112fcf
commit 37736f7847

View file

@ -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
"""