pmbootstrap pull: skip pmaports version check (!1908)

Prevent "pmbootstrap pull" from failing with:

NOTE: your pmaports folder has version 4, but version 6 is required.
ERROR: Run 'pmbootstrap pull' to update your pmaports.

Fixes: #1900
This commit is contained in:
Oliver Smith 2020-04-06 16:19:32 +02:00
parent 20e6dd0085
commit 59272236ad
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB

View file

@ -159,7 +159,7 @@ def init(args):
# Initialization code which may raise errors
check_pmaports_path(args)
if args.action not in ["init", "config", "bootimg_analyze", "log",
"shutdown", "zap"]:
"pull", "shutdown", "zap"]:
pmb.config.pmaports.read_config_into_args(args)
add_deviceinfo(args)
return args