kiss: swap to rm instead of unlink

This commit is contained in:
Dylan Araps 2020-04-28 08:39:59 +03:00
parent d0100b03a1
commit d46bbf517d
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
1 changed files with 1 additions and 1 deletions

2
kiss
View File

@ -1087,7 +1087,7 @@ pkg_install() {
# Remove file symlinks.
elif [ -h "$file" ] && [ ! -d "$file" ]; then
unlink "$file" ||:
rm -f "$file"
# Skip directory symlinks.
elif [ -h "$file" ] && [ -d "$file" ]; then :