From fcf593531c9e0cd1957189f4454e9917586332b1 Mon Sep 17 00:00:00 2001 From: clayton craft Date: Mon, 24 Jul 2017 11:47:11 -0700 Subject: [PATCH] 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. --- pmb/config/init.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pmb/config/init.py b/pmb/config/init.py index e8bfae5d..7866b33c 100644 --- a/pmb/config/init.py +++ b/pmb/config/init.py @@ -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)