We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c604df8 commit d24532cCopy full SHA for d24532c
scripts/latest.sh
@@ -7,8 +7,8 @@ PACKAGE=stylish-haskell
7
echo Downloading and running $PACKAGE...
8
9
RELEASES=$(curl --silent https://github.com/jaspervdj/$PACKAGE/releases)
10
-URL=https://github.com/$(echo $RELEASES | grep -o '\"[^\"]*-x86_64-linux\.tar\.gz\"' | sed s/\"//g | head -n1)
11
-VERSION=$(echo $URL | sed -e 's/.*-\([\.0-9]\+\)-x86_64-linux\.tar\.gz/\1/')
+URL=https://github.com/$(echo $RELEASES | grep -o '\"[^\"]*-linux-x86_64\.tar\.gz\"' | sed s/\"//g | head -n1)
+VERSION=$(echo $URL | sed -e 's/.*-\([\.0-9]\+\)-linux-x86_64\.tar\.gz/\1/')
12
TEMP=$(mktemp --directory .$PACKAGE-XXXXX)
13
14
cleanup(){
0 commit comments