diff options
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/kiss-link | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/kiss-link b/contrib/kiss-link index 1f4b95c..2728fea 100755 --- a/contrib/kiss-link +++ b/contrib/kiss-link @@ -12,6 +12,7 @@ oPKG="$(kiss s "$PKG" | grep -v "^$PWD\$\|/var/db/kiss/installed/$PKG" | sed 1q) for file in "$@" ; do [ -e "${oPKG:?}/$file" ] + [ -d "$file" ] && rm -rf "$file" ln -sf "$oPKG/$file" "$file" printf 'linked %s to %s\n' "$oPKG/$file" "$PWD/$file" done |