aboutsummaryrefslogtreecommitdiff
path: root/bin/install.sh
diff options
context:
space:
mode:
authorjakob.stendahl <jakob.stendahl@infomedia.dk>2022-12-18 00:06:45 +0100
committerJakob Stendahl <jakob.stendahl@outlook.com>2022-12-18 00:06:45 +0100
commit7a1422e58774bffabc2cda2c7b8694230ab12856 (patch)
tree09854c0b418ed82ac637fed7cdded197562dcb35 /bin/install.sh
parent2c8063a1697ce4c737a2296b8d6385c9cf761f07 (diff)
downloadLuxcena-Neo-7a1422e58774bffabc2cda2c7b8694230ab12856.tar.gz
Luxcena-Neo-7a1422e58774bffabc2cda2c7b8694230ab12856.zip
Change from pinned release to latest
Diffstat (limited to 'bin/install.sh')
-rwxr-xr-xbin/install.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/install.sh b/bin/install.sh
index 2563ab2..2c96658 100755
--- a/bin/install.sh
+++ b/bin/install.sh
@@ -147,7 +147,7 @@ execCommand "pip3 install virtualenv"
header "Download luxcena-neo"
INSTALLDIR=$(getent passwd "$username" | cut -d: -f6)
APIURL="https://api.github.com/repos/JakobST1n/luxcena-neo"
-REPOINFO=$(curl -s "$APIURL/releases/86402456" -H "Accept: application/vnd.github+json")
+REPOINFO=$(curl -s "$APIURL/releases/latest" -H "Accept: application/vnd.github+json")
TARBALL_NAME=$(echo "$REPOINFO" | jq '.assets[0].name')
TARBALL_URL=$(echo "$REPOINFO" | jq '.assets[0].browser_download_url')
execCommand "runuser -l $username -c \"curl -s -L -o $INSTALLDIR/$TARBALL_NAME $TARBALL_URL\""