Skip to content

Commit 991989a

Browse files
committed
install yq binary from repo assets
1 parent 2d85682 commit 991989a

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

bbb-install.sh

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -286,9 +286,12 @@ main() {
286286
if [ "$DISTRO" == "noble" ]; then
287287
need_pkg ca-certificates
288288

289-
#need_ppa rmescandon-ubuntu-yq-noble.list ppa:rmescandon/yq CC86BB64 # Edit yaml files with yq
290-
#need_ppa ppa:rmescandon/yq
291-
need_pkg yq
289+
YQ_VERSION="v4.16.2" # TODO - push the assets from the original repo/release into our fork so we can wget from bbb/yq
290+
YQ_BINARY="yq_linux_amd64"
291+
sudo wget -O /usr/local/bin/yq \
292+
"https://github.com/mikefarah/yq/releases/download/${YQ_VERSION}/${YQ_BINARY}"
293+
sudo chmod +x /usr/local/bin/yq
294+
echo "--------------------------------------"
292295
yq --version
293296

294297
#need_ppa libreoffice-ubuntu-ppa-noble.list ppa:libreoffice/ppa 1378B444 # Latest version of libreoffice

0 commit comments

Comments
 (0)