diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-09-22 10:30:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-09-22 10:30:29 +0100 |
commit | 56fd7b8d1bc6d7c2d9feadda17fd044054f15aaa (patch) | |
tree | 791600e1c32ed537c47ccab2feb53057b2d49ed0 /src/backend/libsisyphus.py | |
parent | 8dc2ab082f49b4bfaa9a4de05fe97bbddaf1eecf (diff) |
libsisyphus.py : show how many packages will be merged
Diffstat (limited to 'src/backend/libsisyphus.py')
-rw-r--r-- | src/backend/libsisyphus.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/libsisyphus.py b/src/backend/libsisyphus.py index 09959e9..87f1b8d 100644 --- a/src/backend/libsisyphus.py +++ b/src/backend/libsisyphus.py @@ -220,7 +220,7 @@ def startInstall(pkgList): pkgBins = [] if not len(pkgDeps) == 0: - if input("Would you like to merge these packages?" + " " + str(pkgDeps) + " " + "[y/N]" + " ").lower().strip()[:1] == "y": + if input(len(pkgDeps) + "package(s) will be merged, would you like to proceed ?" + " " + str(pkgDeps) + " " + "[y/N]" + " ").lower().strip()[:1] == "y": for index, url in enumerate([binhostURL + package + '.tbz2' for package in pkgDeps]): print(">>> Fetching" + " " + url) wget.download(url) @@ -260,7 +260,7 @@ def startUpgrade(): worldBins = [] if not len(worldDeps) == 0: - if input("Would you like to merge these packages?" + " " + str(worldDeps) + " " + "[y/N]" + " ").lower().strip()[:1] == "y": + if input(len(pkgDeps) + "package(s) will be merged, would you like to proceed ?" + " " + str(worldDeps) + " " + "[y/N]" + " ").lower().strip()[:1] == "y": for index, url in enumerate([binhostURL + package + '.tbz2' for package in worldDeps]): print(">>> Fetching" + " " + url) wget.download(url) |