diff options
author | merakor <cem@ckyln.com> | 2020-09-11 13:50:02 +0000 |
---|---|---|
committer | merakor <cem@ckyln.com> | 2020-09-11 13:50:02 +0000 |
commit | 498908070d9cb2c068d7509ac3bbdc897fc1aacc (patch) | |
tree | dcb2e37a6a8bdb7e3307b62c0ef7610e28cfc597 /src | |
parent | 7edad8ab932ab27d7f7be5bd44ac4854861cdf8e (diff) | |
download | cpt-498908070d9cb2c068d7509ac3bbdc897fc1aacc.tar.gz |
cpt: bi can be run to install all built packages
FossilOrigin-Name: dc69b52d03be5ff2b2e304b8825c48c65e2188df2f7eb239ecaf267e8fae2434
Diffstat (limited to 'src')
-rwxr-xr-x | src/cpt | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -38,6 +38,15 @@ case "$arg" in r|remove) arg=remove ;; s|search) arg=search ;; u|update) arg=update ;; + bi) + # Build and install function for cpt. + cpt-build "$@" + + # When building multiple packages, cpt will already ask to install + # the packages, so no need for this here. + [ "$2" ] || cpt-install "$@" + exit + ;; *) glob=1 ;; esac |