forked from Mirror/pmbootstrap
pmbootstrap init: Show pkgdesc for each postmarketos-ui package (#763)
This way we could give the user a rough idea what will be installed, and also use this to display a short warning about long compile times (e.g. until the plasma mobile stuff is upstreamed).
This commit is contained in:
parent
34ac1c1538
commit
92e55ae1cd
6 changed files with 18 additions and 13 deletions
|
@ -60,7 +60,9 @@ def ask_for_work_path(args):
|
|||
def ask_for_ui(args):
|
||||
ui_list = pmb.helpers.ui.list(args)
|
||||
logging.info("Available user interfaces (" +
|
||||
str(len(ui_list) - 1) + "): " + ", ".join(ui_list))
|
||||
str(len(ui_list) - 1) + "): ")
|
||||
for ui, description in ui_list.items():
|
||||
logging.info("* " + ui + ": " + description)
|
||||
while True:
|
||||
ret = pmb.helpers.cli.ask(args, "User interface", None, args.ui, True)
|
||||
if ret in ui_list:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue