aboutsummaryrefslogtreecommitdiff
path: root/kiss
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2019-07-21 09:23:51 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2019-07-21 09:23:51 +0000
commit1289353573a49a11667fe069d983a8549b5ac6fa (patch)
treef8b0c6121dc02f804a2a5a619f21519111fed630 /kiss
parentde9f51eb150aee443b5477f830690aaec030e2a8 (diff)
downloadcpt-1289353573a49a11667fe069d983a8549b5ac6fa.tar.gz
kiss: Fix missing &&
FossilOrigin-Name: 659cb2b34ff2cd0072bc4bf7d97840202346ab21af45c37e8d9364c435b978c2
Diffstat (limited to 'kiss')
-rwxr-xr-xkiss4
1 files changed, 2 insertions, 2 deletions
diff --git a/kiss b/kiss
index 6229775..6612721 100755
--- a/kiss
+++ b/kiss
@@ -716,7 +716,7 @@ pkg_install() {
rsync -Kav --ignore-existing "$tar_dir/etc" "$KISS_ROOT/"
# Remove any leftover files if this is an upgrade.
- [ -f "$cac_dir/m-$pkg_name" ]
+ [ -f "$cac_dir/m-$pkg_name" ] &&
awk 'NR==FNR{lines[$0];next}!($0 in lines)' \
"$KISS_ROOT/$pkg_db/$pkg_name/manifest" "$cac_dir/m-$pkg_name" |
while read -r file; do
@@ -947,7 +947,7 @@ args() {
# Print version and exit.
v*)
- log "$kiss 0.5.0"
+ log "$kiss 0.5.1"
;;
# Catch all invalid arguments as well as