forked from kiss-community/kiss
kiss: swap to rm instead of unlink
This commit is contained in:
parent
d0100b03a1
commit
d46bbf517d
2
kiss
2
kiss
@ -1087,7 +1087,7 @@ pkg_install() {
|
|||||||
|
|
||||||
# Remove file symlinks.
|
# Remove file symlinks.
|
||||||
elif [ -h "$file" ] && [ ! -d "$file" ]; then
|
elif [ -h "$file" ] && [ ! -d "$file" ]; then
|
||||||
unlink "$file" ||:
|
rm -f "$file"
|
||||||
|
|
||||||
# Skip directory symlinks.
|
# Skip directory symlinks.
|
||||||
elif [ -h "$file" ] && [ -d "$file" ]; then :
|
elif [ -h "$file" ] && [ -d "$file" ]; then :
|
||||||
|
Loading…
Reference in New Issue
Block a user