aboutsummaryrefslogtreecommitdiff
path: root/tor-browser-dl
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-09-27 15:31:27 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-09-27 15:31:27 -0300
commit198149a516130d090a13723ec3c983022c0d0d9a (patch)
tree3d121f53047fd70ed0d0e9546844ca22cc08c823 /tor-browser-dl
parenta5ce94f60590445b8d7dad4607d7528f3aee9a09 (diff)
downloaddownloaders-198149a516130d090a13723ec3c983022c0d0d9a.tar.gz
downloaders-198149a516130d090a13723ec3c983022c0d0d9a.tar.bz2
Set pentadactyl if available at tor-browser-dl
Diffstat (limited to 'tor-browser-dl')
-rwxr-xr-xtor-browser-dl9
1 files changed, 9 insertions, 0 deletions
diff --git a/tor-browser-dl b/tor-browser-dl
index 5609841..585e89f 100755
--- a/tor-browser-dl
+++ b/tor-browser-dl
@@ -65,6 +65,15 @@ mv $TEMP/tor-browser_$LANG $APP_BASE/$ARCH-$VERSION
rm -rf $APP_BASE/$ARCH && \
( cd $APP_BASE && ln -sf $ARCH-$VERSION $ARCH )
+# Set pentadactyl if available
+if [ -e '~/.pentadactyl' ]; then
+ (
+ cd $APP_BASE/$ARCH-$VERSION
+ ln -s ~/.pentadactyl
+ ln -s ~/.pentadactylrc
+ )
+fi
+
# Cleanup
rm -rf $TEMP
echo "Please check and cleanup old versions at $APP_BASE"