From 198149a516130d090a13723ec3c983022c0d0d9a Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 27 Sep 2014 15:31:27 -0300 Subject: Set pentadactyl if available at tor-browser-dl --- tor-browser-dl | 9 +++++++++ 1 file changed, 9 insertions(+) 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" -- cgit v1.2.3