From 5c43c391e2c2821af266efa52608184e8410dc80 Mon Sep 17 00:00:00 2001 From: PorridgePi Date: Wed, 28 Sep 2022 20:01:42 +0800 Subject: [PATCH] bootstrap: lsd: fix: Use correct flag o instead of s for curl --- .config/yadm/bootstrap.d/lsd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/yadm/bootstrap.d/lsd.sh b/.config/yadm/bootstrap.d/lsd.sh index f15905e..af652ce 100755 --- a/.config/yadm/bootstrap.d/lsd.sh +++ b/.config/yadm/bootstrap.d/lsd.sh @@ -8,7 +8,7 @@ if ! command -v lsd &> /dev/null; then if [[ "$ARCH" == "aarch64" ]]; then ARCH=arm64 fi - URL=$(curl -s https://api.github.com/repos/Peltoche/lsd/releases/latest | grep browser_download_url | cut -d '"' -f 4 | grep $ARCH | grep -v musl) + URL=$(curl -o https://api.github.com/repos/Peltoche/lsd/releases/latest | grep browser_download_url | cut -d '"' -f 4 | grep $ARCH | grep -v musl) curl -o /temp/lsd.deb "$URL" sudo dpkg -i /temp/lsd.deb else