aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornoreply@github.com <noreply@github.com>2019-06-15 05:52:27 +0000
committernoreply@github.com <noreply@github.com>2019-06-15 05:52:27 +0000
commite650b460d71b07eaacb5ace74fd0856427382a9c (patch)
tree62ba9b9ddeef67b5944a650c4c2078a180a8d5f6
parenta33be594b6e896ca319abd265d07b9341ae748c9 (diff)
parent37da7f822cb7ae60fd3fbdb2de3583997e150cf2 (diff)
downloadcpt-e650b460d71b07eaacb5ace74fd0856427382a9c.tar.gz
Merge pull request #5 from konimex/install
install: add dependency check FossilOrigin-Name: 36e8c38d9bfefc7a503b44fbb4624f83980250e5cb62cd86995acd43c7e53250
-rwxr-xr-xkiss4
1 files changed, 3 insertions, 1 deletions
diff --git a/kiss b/kiss
index 0990a1b..3231869 100755
--- a/kiss
+++ b/kiss
@@ -200,7 +200,9 @@ args() {
pkg_checksum
log "Generated checksums." ;;
- i*) pkg_install ;;
+ i*) pkg_depends
+ pkg_install ;;
+
l*) pkg_list "$2" ;;
r*) pkg_remove || die "Package '$name' not installed" ;;
u*) pkg_updates ;;