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

This reverts commit 5c43c391e2.
This commit is contained in:
PorridgePi
2022-09-28 20:02:38 +08:00
parent 5c43c391e2
commit d00c4b29b7

View File

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