From 1c60bc05815c50b28aea23eb47359f62e1882415 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 5 Nov 2017 17:29:59 -0200 Subject: Ensure vimperator symlinks at tor-browser --- tor-browser | 5 +++-- 1 file 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 -- cgit v1.2.3