forked from Mirror/pmbootstrap
Allow overriding pmaports path in pmbootstrap.cfg (!1728)
Make it possible to point the pmaports dir to an existing repository clone, while not having to give the --aports/-p parameter with every command. pmbootstrap --aports=/my/pmaports/path init If the config file exists already, the dir can also be set with: pmbootstrap config aports /my/pmaports/path
This commit is contained in:
parent
dfaca1e06f
commit
c4b4aa7252
2 changed files with 5 additions and 2 deletions
|
@ -369,6 +369,9 @@ def frontend(args):
|
|||
# SSH keys
|
||||
cfg["pmbootstrap"]["ssh_keys"] = str(ask_for_ssh_keys(args))
|
||||
|
||||
# pmaports path (if users change it with: 'pmbootstrap --aports=... init')
|
||||
cfg["pmbootstrap"]["aports"] = args.aports
|
||||
|
||||
# Save config
|
||||
pmb.config.save(args, cfg)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue