Do not store aports directory in config file (#247)

This addresses #246 by not storing the aports directory in the config
file. The default location is still available (from config/__init__.py),
and can be overridden.
This commit is contained in:
clayton craft 2017-07-24 11:47:11 -07:00 committed by Oliver Smith
parent 8dff646733
commit fcf593531c
1 changed files with 3 additions and 0 deletions

View File

@ -63,6 +63,9 @@ def init(args):
default=default)
cfg["pmbootstrap"]["timestamp_based_rebuild"] = str(answer == "y")
# Do not save aports location to config file
del cfg["pmbootstrap"]["aports"]
# Save config
pmb.config.save(args, cfg)