bootstrap: lsd: fix: Add L flag to curl to follow redirection
This commit is contained in:
@@ -10,7 +10,7 @@ if ! command -v lsd &> /dev/null; then
|
||||
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)
|
||||
mkdir -p ~/.temp
|
||||
curl -o ~/.temp/lsd.deb "$URL"
|
||||
curl -L -o ~/.temp/lsd.deb "$URL"
|
||||
sudo dpkg -i ~/.temp/lsd.deb
|
||||
rm ~/.temp/lsd.deb
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user