mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-30 20:34:38 +01:00
Added summary line
This commit is contained in:
parent
ba1b22f3ec
commit
d52575ef92
1 changed files with 7 additions and 3 deletions
|
@ -84,8 +84,12 @@ class RepoList(object):
|
|||
repo_URL, " " * (52 - len(repo_URL)),
|
||||
default, " " * (8 - len(default)),
|
||||
COLOR, status, self.meta.color["ENDC"]))
|
||||
print("\n{0}/{1} enabled default repositories and {2} custom.".format(
|
||||
def_cnt, len(self.all_repos), cus_cnt))
|
||||
|
||||
print("\nRepositories summary")
|
||||
print("=" * 79)
|
||||
print("{0}{1}/{2} enabled default repositories and {3} custom.".format(
|
||||
self.meta.color["GREY"], def_cnt, len(self.all_repos), cus_cnt))
|
||||
print("For enable or disable default repositories edit "
|
||||
"'/etc/slpkg/slpkg.conf' file.\n")
|
||||
"'/etc/slpkg/slpkg.conf' file.\n{0}".format(
|
||||
self.meta.color["ENDC"]))
|
||||
sys.exit(0)
|
||||
|
|
Loading…
Add table
Reference in a new issue