Skip to content

Commit

Permalink
get latest version from download page
Browse files Browse the repository at this point in the history
  • Loading branch information
adelolmo committed May 17, 2019
1 parent e6f3826 commit 9897cd2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ fi

version=$2
if [ ! -n "$2" ]; then
version=$( wget https://turtlapp.com -O build/turtlhome > /dev/null 2>&1 && cat build/turtlhome | grep "linux$arch"|uniq| grep -oE "v.*/"|sed 's/v//g;s/\///g' )
version=$( wget https://turtlapp.com/download -O build/turtlhome > /dev/null 2>&1 && cat build/turtlhome | grep "linux$arch"|uniq| grep -oE "v.*/"|sed 's/v//g;s/\///g' )
fi

echo "* Retrieve artifact ${arch} ${version} ..."
Expand Down Expand Up @@ -72,4 +72,4 @@ EOF

fakeroot dpkg-deb -b -z9 ${TMP} ${RELEASE}

echo done
echo done

0 comments on commit 9897cd2

Please sign in to comment.