bootstrap: lsd: fix: Use correct flag o instead of s for curl

This commit is contained in:
PorridgePi
2022-09-28 20:01:42 +08:00
parent a90c3b4ace
commit 5c43c391e2

View File

@@ -8,7 +8,7 @@ if ! command -v lsd &> /dev/null; then
if [[ "$ARCH" == "aarch64" ]]; then if [[ "$ARCH" == "aarch64" ]]; then
ARCH=arm64 ARCH=arm64
fi 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" curl -o /temp/lsd.deb "$URL"
sudo dpkg -i /temp/lsd.deb sudo dpkg -i /temp/lsd.deb
else else