From 4c4ede3cef7a6f36d358ab43c61a5d6a231d8a23 Mon Sep 17 00:00:00 2001 From: clyhtsuriva Date: Fri, 10 Apr 2026 20:08:43 +0200 Subject: Add update-packer-to + update-packages is now build-packages --- bin/update-packer-to | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 bin/update-packer-to (limited to 'bin/update-packer-to') diff --git a/bin/update-packer-to b/bin/update-packer-to new file mode 100755 index 0000000..622f139 --- /dev/null +++ b/bin/update-packer-to @@ -0,0 +1,15 @@ +#!/usr/bin/env bash +# clyhtsuriva + +VER=$1 + +pushd /tmp/ || exit + +curl -LO "https://releases.hashicorp.com/packer/${VER}/packer_${VER}_linux_amd64.zip" && \ +unzip "packer_${VER}_linux_amd64.zip" && \ +rm LICENSE.txt && \ +mv packer ~/.local/bin/packer && \ +packer -v && \ +rm "packer_${VER}_linux_amd64.zip" + +popd || exit -- cgit v1.2.3