mirror of
https://gitlab.com/kupfer/kupferbootstrap.git
synced 2025-02-23 05:35:44 -05:00
packages/cli: add packages init
as an alias to packages update
This commit is contained in:
parent
18eba2dffd
commit
939683f079
1 changed files with 6 additions and 0 deletions
|
@ -60,6 +60,12 @@ cmd_packages.add_command(cmd_devices_list, 'devices')
|
|||
def cmd_update(non_interactive: bool = False):
|
||||
"""Update PKGBUILDs git repo"""
|
||||
init_pkgbuilds(interactive=not non_interactive)
|
||||
logging.info("Refreshing SRCINFO caches")
|
||||
discover_pkgbuilds()
|
||||
|
||||
|
||||
# alias "update" to "init"
|
||||
cmd_packages.add_command(cmd_update, 'init')
|
||||
|
||||
|
||||
@cmd_packages.command(name='build')
|
||||
|
|
Loading…
Add table
Reference in a new issue