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