diff options
Diffstat (limited to 'rvs.sh')
-rw-r--r-- | rvs.sh | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -29,7 +29,7 @@ _repo() { if [ -e "`pwd`/$repo" ]; then echo "`pwd`/$repo" else - _error "no $name repository found" >> /dev/stderr + _error "no $name repository found" fi cd "$owd" } @@ -64,7 +64,8 @@ _install() { else echo "$id" >> "$RVSDIR/plugins" fi - cp -rp "$dir" "$RVSDIR/$id" + rm -rf "$RVSDIR/$id" + cp -rpT "$dir" "$RVSDIR/$id" } _uninstall() { |