packages: clean up cmd_init

This commit is contained in:
InsanePrawn 2022-10-17 05:08:50 +02:00
parent 14b0a4a666
commit dc2d826362
2 changed files with 11 additions and 3 deletions

View file

@ -38,6 +38,7 @@ def clone_pkgbuilds(pkgbuilds_dir: str, repo_url: str, branch: str, interactive=
result = git(['switch', branch], dir=pkgbuilds_dir)
if result.returncode != 0:
raise Exception('failed switching PKGBUILDs branches')
logging.warning('Hint: you can use `kupferbootstrap packages update` to switch branches')
if update:
if interactive: