|
|
|
@ -2,7 +2,7 @@
|
|
|
|
|
|
|
|
|
|
APP=fzf
|
|
|
|
|
VERSION=${VERSION:-0.24.4}
|
|
|
|
|
DATA_DIR="${XDG_DATA_HOME}/buddy-up/apps"
|
|
|
|
|
DATA_DIR="${XDG_DATA_HOME}/apps/releases"
|
|
|
|
|
DEST_DIR="${DATA_DIR}/${APP}/${VERSION}"
|
|
|
|
|
|
|
|
|
|
OS=
|
|
|
|
@ -15,7 +15,7 @@ esac
|
|
|
|
|
|
|
|
|
|
case $(uname -m) in
|
|
|
|
|
x86_64*) ARCH=amd64;;
|
|
|
|
|
*) >&2 echo "unsupported architecture"; exit 1;;
|
|
|
|
|
*) >&2 echo "unsupported architecture: $(uname -m)"; exit 1;;
|
|
|
|
|
esac
|
|
|
|
|
|
|
|
|
|
URL="https://github.com/junegunn/fzf/releases/download/${VERSION}/fzf-${VERSION}-${OS}_${ARCH}.tar.gz"
|
|
|
|
|