forked from kiss-community/kiss
kiss: Fix etc symlink handling. Closes #112
This commit is contained in:
parent
5d96b2871f
commit
1a17119d7f
4
kiss
4
kiss
@ -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]'
|
||||||
|
Loading…
Reference in New Issue
Block a user