From 3a81c1c972440f6c0436f346f9c3a00d55630209 Mon Sep 17 00:00:00 2001 From: xynydev Date: Sat, 28 Oct 2023 17:59:02 +0300 Subject: [PATCH] fix: wget with big o --- config/scripts/rescrobbled.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/scripts/rescrobbled.sh b/config/scripts/rescrobbled.sh index bcf5a34..a96e9aa 100644 --- a/config/scripts/rescrobbled.sh +++ b/config/scripts/rescrobbled.sh @@ -4,7 +4,7 @@ set -oue pipefail echo "Downloading latest rescrobbled binary" curl -H "Accept: application/vnd.github.v3+json" https://api.github.com/repos/InputUsername/rescrobbled/releases/latest \ | jq .assets[0].browser_download_url \ - | xargs curl > /usr/bin/rescrobbled + | xargs wget -O /usr/bin/rescrobbled chmod +x /usr/bin/rescrobbled echo "Downloading rescrobbled systemd unit"