From f31bef6a30f6125de3da86b844f0c03edec51422 Mon Sep 17 00:00:00 2001 From: Shivam Mathur Date: Sun, 11 Jul 2021 06:40:17 +0530 Subject: [PATCH] Set firebird client version to 3.0.7 on macOS --- src/scripts/ext/firebird.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/scripts/ext/firebird.sh b/src/scripts/ext/firebird.sh index d7585d6b..36014a6d 100644 --- a/src/scripts/ext/firebird.sh +++ b/src/scripts/ext/firebird.sh @@ -1,6 +1,7 @@ add_firebird_client_darwin() { - pkg_name=$(get -s -n "" https://github.com/FirebirdSQL/firebird/releases/latest | grep -Eo "Firebird-.*.pkg" | head -n 1) - get -q -e "/tmp/firebird.pkg" https://github.com/FirebirdSQL/firebird/releases/latest/download/"$pkg_name" + firebird_tag='R3_0_7' + pkg_name=$(get -s -n "" https://github.com/FirebirdSQL/firebird/releases/tag/"$firebird_tag" | grep -Eo "Firebird-.*.pkg" | head -n 1) + get -q -e "/tmp/firebird.pkg" https://github.com/FirebirdSQL/firebird/releases/download/"$firebird_tag"/"$pkg_name" sudo installer -pkg /tmp/firebird.pkg -target / sudo mkdir -p /opt/firebird/include /opt/firebird/lib sudo find /Library/Frameworks/Firebird.framework -name '*.h' -exec cp "{}" /opt/firebird/include \;