summaryrefslogtreecommitdiff
path: root/src/backend/libsisyphus.py
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-09-22 11:13:14 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-09-22 11:13:14 +0100
commit00f4cf322e615f5f4f751c9f7882416a3d2c37b9 (patch)
tree51b2ca4dde2fc649a5965a9c3f876ea82e7530b5 /src/backend/libsisyphus.py
parent0ec26c657839aab835eef0e5dd9ac8df9dfc6c88 (diff)
make the output more pleasant
Diffstat (limited to 'src/backend/libsisyphus.py')
-rw-r--r--src/backend/libsisyphus.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/libsisyphus.py b/src/backend/libsisyphus.py
index 8719f82..a97af79 100644
--- a/src/backend/libsisyphus.py
+++ b/src/backend/libsisyphus.py
@@ -232,7 +232,7 @@ def startInstall(pkgList):
pkgBins = []
if not len(pkgDeps) == 0:
- if input(str(len(pkgDeps)) + " " + "package(s) will be merged, would you like to proceed ?" + " " + str(pkgDeps) + " " + "[y/N]" + " ").lower().strip()[:1] == "y":
+ if input("The following" + " " + str(len(pkgDeps)) + " " + "package(s) will be merged!" + "\n" + "\n" + str(pkgDeps) + "\n" + "\n" + "Would you like to proceed?" + " " + "[y/N]" + " ").lower().strip()[:1] == "y":
for index, url in enumerate([binhostURL + package + '.tbz2' for package in pkgDeps]):
print(">>> Fetching" + " " + url)
wget.download(url)
@@ -272,7 +272,7 @@ def startUpgrade():
worldBins = []
if not len(worldDeps) == 0:
- if input(str(len(worldDeps)) + " " + "package(s) will be merged, would you like to proceed ?" + " " + str(worldDeps) + " " + "[y/N]" + " ").lower().strip()[:1] == "y":
+ if input("The following" + " " + str(len(worldDeps)) + " " + "package(s) will be merged!" + "\n" + "\n" + str(worldDeps) + "\n" + "\n" + "Would you like to proceed?" + " " + "[y/N]" + " ").lower().strip()[:1] == "y":
for index, url in enumerate([binhostURL + package + '.tbz2' for package in worldDeps]):
print(">>> Fetching" + " " + url)
wget.download(url)