community_curl

This commit is contained in:
CanbiZ
2025-05-07 15:44:12 +02:00
parent 6944e9db9e
commit aff6057cde
2 changed files with 30 additions and 25 deletions

View File

@@ -27,7 +27,7 @@ msg_ok "Installed Dependencies"
msg_info "Installing Babybuddy"
cd /opt
RELEASE=$(curl -fsSL https://api.github.com/repos/babybuddys/babybuddy/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
RELEASE=$(community_curl https://api.github.com/repos/babybuddys/babybuddy/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
wget -q "https://github.com/babybuddy/babybuddy/archive/refs/tags/v${RELEASE}.zip"
unzip -q v${RELEASE}.zip
mv babybuddy-${RELEASE} /opt/babybuddy