aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-11-05 17:29:59 -0200
committerSilvio Rhatto <rhatto@riseup.net>2017-11-05 17:29:59 -0200
commit1c60bc05815c50b28aea23eb47359f62e1882415 (patch)
tree371848eacb6456fea800c35148e20251ef298dc9
parent158e20c486e47fc621dd745ed01a6e9662a5f869 (diff)
downloadutils-tor-1c60bc05815c50b28aea23eb47359f62e1882415.tar.gz
utils-tor-1c60bc05815c50b28aea23eb47359f62e1882415.tar.bz2
Ensure vimperator symlinks at tor-browser
-rwxr-xr-xtor-browser5
1 files changed, 3 insertions, 2 deletions
diff --git a/tor-browser b/tor-browser
index 4c8a67f..abba461 100755
--- a/tor-browser
+++ b/tor-browser
@@ -14,8 +14,9 @@ if which torbrowser-launcher &> /dev/null; then
if [ -e "$HOME/.vimperator" ] && [ -d "$FOLDER" ] && [ ! -e "$FOLDER/.vimperatorrc" ]; then
(
cd "$FOLDER"
- ln -s "$HOME/.vimperator"
- ln -s "$HOME/.vimperatorrc"
+ rm -f .vimperator .vimperatorrc
+ ln -sf "$HOME/.vimperator"
+ ln -sf "$HOME/.vimperatorrc"
)
fi