Skip to content

Commit e86f7d9

Browse files
authored
Add zlib headers in install-zstd.sh
1 parent ebc1687 commit e86f7d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/install-zstd.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ sudo mkdir -p /opt/zstd
33
zstd_dir="zstd-$(curl -sL https://github.com/facebook/zstd/releases/latest | grep -Po "tree/v(\d+\.\d+\.\d+)" | cut -d'v' -f 2 | head -n 1)"
44
zstd_url=$(curl -sL https://api.github.com/repos/"$REPO"/actions/artifacts | jq -r --arg zstd_dir "$zstd_dir-ubuntu$VERSION_ID" '.artifacts[] | select(.name=="\($zstd_dir)").archive_download_url' 2>/dev/null | head -n 1)
55
if [ "x$zstd_url" = "x" ]; then
6-
sudo apt-get install zlib1g liblzma-dev liblz4-dev -y
6+
sudo apt-get install zlib1g-dev liblzma-dev liblz4-dev -y
77
curl -o /tmp/zstd.tar.gz -sL https://github.com/facebook/zstd/releases/latest/download/"$zstd_dir".tar.gz
88
tar -xzf /tmp/zstd.tar.gz -C /tmp
99
(

0 commit comments

Comments
 (0)