Fixed update slack repository

Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
Dimitris Zlatanidis 2022-05-08 22:41:46 +03:00
parent 4d38b3df0c
commit a5af3006ab
2 changed files with 5 additions and 5 deletions

View file

@ -117,11 +117,11 @@ class Initialization(Utils):
# lst_file = ""
md5_file = "CHECKSUMS.md5"
log_file = "ChangeLog.txt"
self.make_dir([log, lib])
dirs = ["core/", "extra/", "patches/"]
for d in dirs:
if not os.path.exists(lib + d):
os.make_dir(lib + d)
self.make_dir([log, lib])
self.make_dir([f"{lib}{dirs[0]}",
f"{lib}{dirs[1]}",
f"{lib}{dirs[2]}"])
PACKAGES_TXT = mirrors(lib_file, "")
FILELIST_TXT = ""
CHECKSUMS_MD5 = mirrors(md5_file, "")

View file

@ -39,4 +39,4 @@ def slackware_repository():
for pkg in slack_repo[0]:
names.append(split_package(pkg)[0])
packages.append(pkg[:-4])
return packages, names
return packages, names