summaryrefslogtreecommitdiff
path: root/rvs.sh
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2009-08-02 23:46:36 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-06-26 00:30:13 -0600
commit8a3cca551e412d3bd5cfddc6aa73c4f97edb483f (patch)
treee037e51af44a70d19a86fc70ae2853d654e1147d /rvs.sh
parentfd5bf0ecb44eaae6ab24773629bacf1797d180b6 (diff)
I can now check out from the repo!
Diffstat (limited to 'rvs.sh')
-rw-r--r--rvs.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/rvs.sh b/rvs.sh
index 2c56eec..b2a3f93 100644
--- a/rvs.sh
+++ b/rvs.sh
@@ -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() {