Merge branch 'master' of github.com:cycojesus/slackbuilds
This commit is contained in:
commit
75d1b7ed6e
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ TMP=/tmp/$TAG
|
|||
PKG=$TMP/pkg-$PRGNAM
|
||||
PREFIX=/usr
|
||||
|
||||
LATEST_RELEASE_URL=$(curl -s https://api.github.com/repos/manastech/crystal/releases | grep browser_download_url | grep linux-${ARCH} | head -n 1 | cut -d '"' -f 4)
|
||||
LATEST_RELEASE_URL=$(curl -s https://api.github.com/repos/crystal-lang/crystal/releases | grep browser_download_url | grep linux-${ARCH} | head -n 1 | cut -d '"' -f 4)
|
||||
VERSION=$(echo $LATEST_RELEASE_URL | grep -o "/[0-9.]*/" | tr -d / | grep -o "[0-9.]*")
|
||||
|
||||
# cleaning
|
||||
|
|
Loading…
Add table
Reference in a new issue