Skip to content

Commit

Permalink
get latest version from web
Browse files Browse the repository at this point in the history
  • Loading branch information
adelolmo committed Jul 26, 2016
1 parent 11692a0 commit 58d60bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion turtl_deb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ if [ -n "$1" ]; then
arch=$1
fi

version=$( wget https://turtl.it -O qturtlhome > /dev/null 2>&1 && cat turtlhome | grep -oE "turtl-linux64-[0-9].[0-9].[0-9]" | uniq | grep -Eo "[0-9].[0-9].[0-9]*$" )
version=$( wget https://turtl.it -O turtlhome > /dev/null 2>&1 && cat turtlhome | grep -oE "turtl-linux64-[0-9].[0-9].[0-9]" | uniq | grep -Eo "[0-9].[0-9].[0-9]*$" )
if [ -n "$2" ]; then
version=$2
fi
Expand Down

0 comments on commit 58d60bf

Please sign in to comment.