Update lf install script location

lf download to apps/releases to avoid it conflicting with stow. Saving
the file to ~/.local/share/buddy-up would mean it would be added to the
repo due to the symlink.
main
Buddy Sandidge 4 years ago
parent 494a77d221
commit 6a9d4f3240

@ -5,8 +5,8 @@ set -e
# shellcheck disable=SC1090 # shellcheck disable=SC1090
source "${XDG_DATA_HOME}/buddy-up/includes/utils.sh" source "${XDG_DATA_HOME}/buddy-up/includes/utils.sh"
VERSION=${VERSION:-r21} VERSION=${VERSION:-r24}
DEST="${XDG_DATA_HOME}/buddy-up/apps/lf" DEST="${XDG_DATA_HOME}/apps/releases/lf"
URL=https://github.com/gokcehan/lf/releases/download/${VERSION}/lf-$(get_os)-$(get_arch).tar.gz URL=https://github.com/gokcehan/lf/releases/download/${VERSION}/lf-$(get_os)-$(get_arch).tar.gz
extract_tarball "${URL}" "${DEST}/${VERSION}" extract_tarball "${URL}" "${DEST}/${VERSION}"

Loading…
Cancel
Save