1
0
mirror of https://codeberg.org/kiss-community/kiss synced 2024-12-22 23:20:06 -07:00

kiss: keep old string list behavior

This commit is contained in:
Dylan Araps 2021-07-18 23:15:58 +03:00
parent e62a239fb3
commit 25155b824b
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C

6
kiss
View File

@ -212,7 +212,9 @@ sh256() {
esac; shift; done
printf '%s\n' "$@"
IFS="$newline"
hash=$*
unset IFS
}
pkg_lint() {
@ -1268,8 +1270,8 @@ pkg_etc() {
sh256 "$tar_dir/$_pkg$1" "$KISS_ROOT$1" >/dev/null
sum_new=${hash%% *}
sum_sys=${hash#* }
sum_new=${hash%%"$newline"*}
sum_sys=${hash#*"$newline"}
sum_old=$(awk "NR == $_etc_cnt" "$2") >/dev/null 2>&1 ||:
# Compare the three checksums to determine what to do.