Rework Zipline

This commit is contained in:
Michel Roegl-Brunner 2025-04-23 08:42:25 +02:00
parent e0da0b9679
commit b9d8e0eb0d

View File

@ -51,8 +51,7 @@ msg_ok "Set up PostgreSQL"
msg_info "Installing Zipline (Patience)" msg_info "Installing Zipline (Patience)"
cd /opt cd /opt
#RELEASE=$(curl -fsSL https://api.github.com/repos/diced/zipline/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') RELEASE=$(curl -fsSL https://api.github.com/repos/diced/zipline/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
RELEASE="3.7.13"
curl -fsSL "https://github.com/diced/zipline/archive/refs/tags/v${RELEASE}.zip" -o $(basename "https://github.com/diced/zipline/archive/refs/tags/v${RELEASE}.zip") curl -fsSL "https://github.com/diced/zipline/archive/refs/tags/v${RELEASE}.zip" -o $(basename "https://github.com/diced/zipline/archive/refs/tags/v${RELEASE}.zip")
unzip -q v${RELEASE}.zip unzip -q v${RELEASE}.zip
mv zipline-${RELEASE} /opt/zipline mv zipline-${RELEASE} /opt/zipline