From: Silvio Rhatto Date: Tue, 13 May 2014 15:03:39 +0000 (-0300) Subject: Relative symlinks on tor-browser-dl X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=103e344b5db0176d3a650703d7fd6b23c4852738;p=scripts.git Relative symlinks on tor-browser-dl --- diff --git a/tor-browser-dl b/tor-browser-dl index d73bf81..5609841 100755 --- a/tor-browser-dl +++ b/tor-browser-dl @@ -63,7 +63,7 @@ gpg --verify $DL/$SIGN $DL/$FILE || exit 1 # Move and symlink mv $TEMP/tor-browser_$LANG $APP_BASE/$ARCH-$VERSION rm -rf $APP_BASE/$ARCH && \ -ln -sf $APP_BASE/$ARCH-$VERSION $APP_BASE/$ARCH +( cd $APP_BASE && ln -sf $ARCH-$VERSION $ARCH ) # Cleanup rm -rf $TEMP