mirror of
https://codeberg.org/kiss-community/kiss
synced 2024-12-24 08:00:05 -07:00
kiss: Fix symlinks in /etc/. Related to #193
This commit is contained in:
parent
18c7335241
commit
b1302664d5
4
kiss
4
kiss
@ -1064,11 +1064,11 @@ pkg_etc() (
|
||||
done
|
||||
|
||||
# Handle files in /etc/ based on a 3-way checksum check.
|
||||
find etc -type f | sort | while read -r file; do
|
||||
find etc ! -type d | sort | while read -r file; do
|
||||
i=$((i + 1))
|
||||
|
||||
{ sum_new=$(sh256 "$file")
|
||||
sum_sys=$(cd "$KISS_ROOT/"; sh256 "$file")
|
||||
sum_sys=$(sh256 "$KISS_ROOT/$file")
|
||||
sum_old=$(awk "NR == $i" "$mak_dir/c"); } 2>/dev/null ||:
|
||||
|
||||
log "$pkg_name" "Doing 3-way handshake for $file"
|
||||
|
Loading…
Reference in New Issue
Block a user