summaryrefslogtreecommitdiffhomepage
path: root/scripts/latest.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/latest.sh')
-rwxr-xr-xscripts/latest.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/latest.sh b/scripts/latest.sh
index 7119530..dc5c345 100755
--- a/scripts/latest.sh
+++ b/scripts/latest.sh
@@ -7,8 +7,8 @@ PACKAGE=stylish-haskell
echo Downloading and running $PACKAGE...
RELEASES=$(curl --silent https://github.com/jaspervdj/$PACKAGE/releases)
-URL=https://github.com/$(echo $RELEASES | grep -o '\"[^\"]*-x86_64-linux\.tar\.gz\"' | sed s/\"//g | head -n1)
-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/')
TEMP=$(mktemp --directory .$PACKAGE-XXXXX)
cleanup(){