mirror of
https://gitlab.com/kupfer/kupferbootstrap.git
synced 2025-06-27 02:35:37 -04:00
packages: clean up cmd_init
This commit is contained in:
parent
14b0a4a666
commit
dc2d826362
2 changed files with 11 additions and 3 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue