Updated for deleting

This commit is contained in:
Dimitris Zlatanidis 2023-03-05 21:12:32 +02:00
parent 26e9a555e8
commit 4dac3f9424

View file

@ -51,8 +51,7 @@ class UpdateRepository(Configs, Utilities):
print(f'Generating the {self.ponce_txt} file... ', end='', flush=True)
os.chdir(self.ponce_repo_path)
subprocess.call(f'./gen_sbo_txt.sh > {self.ponce_txt}', shell=True)
self.delete_sbo_data()
print()
else:
print('Updating the package list.\n')
@ -68,9 +67,7 @@ class UpdateRepository(Configs, Utilities):
down_sbo_changelog = Downloader(self.sbo_repo_path, changelog_txt, self.flags)
down_sbo_changelog.download()
self.delete_sbo_data()
print()
self.delete_sbo_data()
data = CreateData()
data.install_sbo_table()