Fix #548: Allow package names that have a + (plus sign) or . (period) in them (#550)

This commit is contained in:
Brian Otto 2017-09-10 03:25:23 -07:00 committed by Oliver Smith
parent 450711e76a
commit 20abe8e8ca
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ def init(args):
" or \"none\"")
cfg["pmbootstrap"]["extra_packages"] = pmb.helpers.cli.ask(args, "Extra packages",
None, args.extra_packages,
validation_regex="^(|[-\w\s]+(?:,[-\w\s]*)*)$")
validation_regex="^(|[-.+\w\s]+(?:,[-.+\w\s]*)*)$")
# Do not save aports location to config file
del cfg["pmbootstrap"]["aports"]