diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-11-05 17:29:59 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-11-05 17:29:59 -0200 |
commit | 1c60bc05815c50b28aea23eb47359f62e1882415 (patch) | |
tree | 371848eacb6456fea800c35148e20251ef298dc9 /tor-browser | |
parent | 158e20c486e47fc621dd745ed01a6e9662a5f869 (diff) | |
download | utils-tor-1c60bc05815c50b28aea23eb47359f62e1882415.tar.gz utils-tor-1c60bc05815c50b28aea23eb47359f62e1882415.tar.bz2 |
Ensure vimperator symlinks at tor-browser
Diffstat (limited to 'tor-browser')
-rwxr-xr-x | tor-browser | 5 |
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 |