aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2019-09-13 21:28:30 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2019-09-13 21:28:30 +0000
commit6fb5f4908998e8d1814bb42c982d04fd6dda8423 (patch)
treeaccd434ce0be8bbd44600757d9b8acf9e1dbeed4
parent433a4c8d8744f54df2568abb733e94cd80aa18a8 (diff)
downloadcpt-6fb5f4908998e8d1814bb42c982d04fd6dda8423.tar.gz
kiss: clean up
FossilOrigin-Name: 0c0035cf51023fba8dfa74ed880fc45f69452aa50525e8763acda128f36ec12a
-rwxr-xr-xkiss5
1 files 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