bootstrap: lsd: fix: Add missing dollar sign

This commit is contained in:
PorridgePi
2022-09-28 20:00:22 +08:00
parent be0ecb3305
commit 0eaf934c15

View File

@@ -3,7 +3,7 @@ if ! command -v lsd &> /dev/null; then
if [[ "$OSNAME" == "Linux" ]]; then if [[ "$OSNAME" == "Linux" ]]; then
# Linux # Linux
if [[ "DISTRO_TYPE" == "debian" ]]; then if [[ "$DISTRO_TYPE" == "debian" ]]; then
# Debian-based # Debian-based
URL=$(curl -s https://api.github.com/repos/Peltoche/lsd/releases/latest | grep browser_download_url | cut -d '"' -f 4 | grep $(uname -m) | grep -v musl) URL=$(curl -s https://api.github.com/repos/Peltoche/lsd/releases/latest | grep browser_download_url | cut -d '"' -f 4 | grep $(uname -m) | grep -v musl)
curl -o /temp/lsd.deb "$URL" curl -o /temp/lsd.deb "$URL"