remove broken build, change x86_64 name

This commit is contained in:
2023-10-21 02:29:40 -07:00
parent 4dc7e90a41
commit 395ec3feba
8 changed files with 12 additions and 211 deletions

View File

@@ -5,7 +5,7 @@ set -e -o pipefail
arch=$(uname -m)
case $arch in
"x86_64")
machine_arch="x86_64"
machine_arch="amd64"
;;
"i686"|"i386")
machine_arch="386"
@@ -65,7 +65,7 @@ if [ ! -f /etc/grlx/farmer ]; then
"386")
curl -f -L -s "https://github.com/charmbracelet/gum/releases/download/v0.11.0/gum_0.11.0_Linux_i386.tar.gz" > "$tempdir/gum.tar.gz"
;;
"x86_64")
"amd64")
curl -f -L -s "https://github.com/charmbracelet/gum/releases/download/v0.11.0/gum_0.11.0_Linux_x86_64.tar.gz" > "$tempdir/gum.tar.gz"
;;
"arm64")
@@ -139,7 +139,7 @@ EOF
fi
useradd -r -s /usr/sbin/nologin farmer >/dev/null || true
chown farmer:farmer /etc/grlx
chown -R farmer:farmer /etc/grlx
chmod 700 /etc/grlx
systemctl daemon-reload
systemctl enable --now grlx-farmer