1
0
mirror of https://codeberg.org/kiss-community/kiss synced 2024-11-04 14:05:41 -07:00

kiss: Fix missing &&

This commit is contained in:
Dylan Araps 2019-07-21 12:23:51 +03:00
parent a862506422
commit 357a2486a3

4
kiss
View File

@ -716,7 +716,7 @@ pkg_install() {
rsync -Kav --ignore-existing "$tar_dir/etc" "$KISS_ROOT/" rsync -Kav --ignore-existing "$tar_dir/etc" "$KISS_ROOT/"
# Remove any leftover files if this is an upgrade. # 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)' \ awk 'NR==FNR{lines[$0];next}!($0 in lines)' \
"$KISS_ROOT/$pkg_db/$pkg_name/manifest" "$cac_dir/m-$pkg_name" | "$KISS_ROOT/$pkg_db/$pkg_name/manifest" "$cac_dir/m-$pkg_name" |
while read -r file; do while read -r file; do
@ -947,7 +947,7 @@ args() {
# Print version and exit. # Print version and exit.
v*) v*)
log "$kiss 0.5.0" log "$kiss 0.5.1"
;; ;;
# Catch all invalid arguments as well as # Catch all invalid arguments as well as