From 6bf3d1e99414dc19f95b7705926068fc0c403e46 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sat, 14 Sep 2019 00:28:30 +0300 Subject: [PATCH] kiss: clean up --- kiss | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/kiss b/kiss index d5aa9f4..87ca4d5 100755 --- a/kiss +++ b/kiss @@ -612,7 +612,7 @@ pkg_remove() { if [ -d "$KISS_ROOT/$file" ]; then rmdir "$KISS_ROOT/$file" 2>/dev/null || continue else - rm -f -- "$KISS_ROOT/$file" + rm -f "$KISS_ROOT/$file" fi done < "$sys_db/$1/manifest" @@ -727,8 +727,7 @@ pkg_install() { unlink "$file" ||: # Skip directory symlinks. - elif [ -L "$file" ] && [ -d "$file" ]; then - : + elif [ -L "$file" ] && [ -d "$file" ]; then : # Remove directories if empty. elif [ -d "$file" ]; then