From 20abe8e8ca4b593d80e832a7ef08cf0b4e827936 Mon Sep 17 00:00:00 2001 From: Brian Otto Date: Sun, 10 Sep 2017 03:25:23 -0700 Subject: [PATCH] Fix #548: Allow package names that have a + (plus sign) or . (period) in them (#550) --- pmb/config/init.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pmb/config/init.py b/pmb/config/init.py index 7bcb0e90..9ca5bd30 100644 --- a/pmb/config/init.py +++ b/pmb/config/init.py @@ -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"]