diff options
author | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2019-09-13 21:28:30 +0000 |
---|---|---|
committer | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2019-09-13 21:28:30 +0000 |
commit | 6fb5f4908998e8d1814bb42c982d04fd6dda8423 (patch) | |
tree | accd434ce0be8bbd44600757d9b8acf9e1dbeed4 /kiss | |
parent | 433a4c8d8744f54df2568abb733e94cd80aa18a8 (diff) | |
download | cpt-6fb5f4908998e8d1814bb42c982d04fd6dda8423.tar.gz |
kiss: clean up
FossilOrigin-Name: 0c0035cf51023fba8dfa74ed880fc45f69452aa50525e8763acda128f36ec12a
Diffstat (limited to 'kiss')
-rwxr-xr-x | kiss | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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 |