aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2020-02-12 13:52:21 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2020-02-12 13:52:21 +0000
commit8359623b4c06694257f44dd25cbe49e714567760 (patch)
treef1cad68cd647d1a2064aad19630d23d256c6e293
parent973101ffc8cc80c1e4a85aa08345143ec0e5b8e1 (diff)
downloadcpt-8359623b4c06694257f44dd25cbe49e714567760.tar.gz
kiss: Fix etc symlink handling. Closes #112
FossilOrigin-Name: b09ae359f210d7a56683a9f69bdc26270695b17b74c75f7e9f9d6a484555c793
-rwxr-xr-xkiss4
1 files changed, 2 insertions, 2 deletions
diff --git a/kiss b/kiss
index 7839181..ed927a1 100755
--- a/kiss
+++ b/kiss
@@ -970,7 +970,7 @@ pkg_install() {
done
# 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_sys=$(cd "$KISS_ROOT/"; sha256sum "$file")
@@ -1308,7 +1308,7 @@ args() {
l|list) pkg_list "$@" ;;
u|update) pkg_updates ;;
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|'')
log 'kiss [a|b|c|i|l|r|s|u|v] [pkg] [pkg] [pkg]'