commit ca9789cfdaa0c6cabf67451a9d095540f7e4c8be
parent 734e782d95752b4f17dd2a000aa4466e30b001c9
Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Sun, 8 Sep 2013 22:01:58 +0200
torify check changed to command -v to be POSIX compatible
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/tor-browser-update.sh b/bin/tor-browser-update.sh
@@ -14,7 +14,7 @@ TORFOLDER=~/tor
DIR="https://www.torproject.org/dist/torbrowser/linux/"
# Check if torify is installed
-if hash torify 2>/dev/null; then
+if command -v torify 2>/dev/null; then
DOWNLOADCMD="torify wget"
else
DOWNLOADCMD="wget"