Compare commits
No commits in common. "d4ab3a2f1cefd4d202a366f5319c0296275472b0" and "58ee105cc0bcd1756c88d566a49ddf1cb407566d" have entirely different histories.
d4ab3a2f1c
...
58ee105cc0
@ -1,20 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
# shellcheck disable=SC1091
|
||||
source "${XDG_DATA_HOME}/buddy-up/includes/utils.sh"
|
||||
|
||||
APP=opentofu
|
||||
VERSION=${VERSION:-1.12.6}
|
||||
DEST=${XDG_DATA_HOME}/apps/releases/${APP}
|
||||
|
||||
main() (
|
||||
URL=https://github.com/opentofu/opentofu/releases/download/v${VERSION}/tofu_${VERSION}_$(get_os)_$(get_arch).tar.gz
|
||||
|
||||
extract_tarball "${URL}" "${DEST}/${VERSION}"
|
||||
set_current_link "${DEST}" "${VERSION}"
|
||||
set_link "${XDG_BIN_HOME}/tofu" "${DEST}" tofu
|
||||
)
|
||||
|
||||
main "${@}"
|
||||
Loading…
Reference in New Issue
Block a user