diff --git a/slpkg/init.py b/slpkg/init.py index 34353f52..f14994f2 100644 --- a/slpkg/init.py +++ b/slpkg/init.py @@ -794,15 +794,13 @@ class Update: def check_exists_repositories(repo): """Checking if repositories exists by PACKAGES.TXT file """ - pkg_list = "PACKAGES.TXT" + pkg_list = "" if repo == "sbo": pkg_list = "SLACKBUILDS.TXT" if check_for_local_repos(repo) is True: pkg_list = "PACKAGES.TXT" - return "" if not os.path.isfile(f"{_meta_.lib_path}{repo}_repo/{pkg_list}"): return repo - return "" def check_for_local_repos(repo):