kiss: Fix etc symlink handling. Closes #112

This commit is contained in:
Dylan Araps 2020-02-12 15:52:21 +02:00
parent 5d96b2871f
commit 1a17119d7f
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E

4
kiss
View File

@ -970,7 +970,7 @@ pkg_install() {
done done
# Handle files in /etc/ based on a 3-way checksum check. # Handle files in /etc/ based on a 3-way checksum check.
find etc -type f | while read -r file; do find etc ! -type d | while read -r file; do
{ {
sum_new=$(sha256sum "$file") sum_new=$(sha256sum "$file")
sum_sys=$(cd "$KISS_ROOT/"; sha256sum "$file") sum_sys=$(cd "$KISS_ROOT/"; sha256sum "$file")
@ -1308,7 +1308,7 @@ args() {
l|list) pkg_list "$@" ;; l|list) pkg_list "$@" ;;
u|update) pkg_updates ;; u|update) pkg_updates ;;
s|search) for pkg; do pkg_find "$pkg" all; done ;; s|search) for pkg; do pkg_find "$pkg" all; done ;;
v|version) log kiss 1.5.4 ;; v|version) log kiss 1.5.5 ;;
h|help|-h|--help|'') h|help|-h|--help|'')
log 'kiss [a|b|c|i|l|r|s|u|v] [pkg] [pkg] [pkg]' log 'kiss [a|b|c|i|l|r|s|u|v] [pkg] [pkg] [pkg]'