aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2020-01-27 09:16:50 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2020-01-27 09:16:50 +0000
commit20087a409a02817a9c69dc779de4b74f88e94626 (patch)
treeabaa80382febc366e24a7acb7cfd4fde8f83465e
parent8243b4ff11960e4ef79cb31bd55983d031fcd862 (diff)
downloadcpt-20087a409a02817a9c69dc779de4b74f88e94626.tar.gz
kiss: fix args i issues
FossilOrigin-Name: 25c2f9011ce334fc0c4a529035c478bfc28ce92ba5d54685c80ee0c2ca527b0b
-rwxr-xr-xkiss13
1 files changed, 7 insertions, 6 deletions
diff --git a/kiss b/kiss
index 731f6e1..ce45dc3 100755
--- a/kiss
+++ b/kiss
@@ -497,8 +497,8 @@ pkg_build() {
[ -f "$bin_dir/$pkg#$version-$release.tar.gz" ] && {
log "$pkg" "Found pre-built binary, installing"
- dosu KISS_FORCE=1 \
- kiss i "$bin_dir/$pkg#$version-$release.tar.gz" ||:
+ KISS_FORCE=1 \
+ pkg_install "$bin_dir/$pkg#$version-$release.tar.gz"
# Remove the now installed package from the build
# list. No better way than using 'sed' in POSIX 'sh'.
@@ -586,7 +586,8 @@ pkg_build() {
log "$pkg" "Needed as a dependency or has an update, installing"
- dosu KISS_FORCE=1 kiss i "$bin_dir/$pkg#$version-$release.tar.gz" ||:
+ KISS_FORCE=1 \
+ pkg_install "$bin_dir/$pkg#$version-$release.tar.gz"
done
# End here as this was a system update and all packages have been installed.
@@ -604,7 +605,7 @@ pkg_build() {
log "Install built packages? [$*]"
prompt && {
- dosu kiss i "$@" ||:
+ dosu kiss i "$@"
return
}
}
@@ -945,8 +946,8 @@ pkg_updates() {
prompt
- pkg_build kiss
- dosu kiss i kiss ||:
+ pkg_build kiss
+ pkg_install kiss
log "Updated the package manager"
log "Re-run 'kiss update' to update your system"