|
|
@ -6,10 +6,10 @@ source "${XDG_DATA_HOME}/buddy-up/includes/utils.sh"
|
|
|
|
APP=bat
|
|
|
|
APP=bat
|
|
|
|
BAT_DEST="${XDG_DATA_HOME}/apps/releases/${APP}"
|
|
|
|
BAT_DEST="${XDG_DATA_HOME}/apps/releases/${APP}"
|
|
|
|
BAT_CURRENT="${BAT_DEST}/current"
|
|
|
|
BAT_CURRENT="${BAT_DEST}/current"
|
|
|
|
BAT_VERSION=${BAT_VERSION:-0.22.1}
|
|
|
|
BAT_VERSION=${BAT_VERSION:-0.23.0}
|
|
|
|
EXTRA_DEST="${XDG_DATA_HOME}/apps/releases/bat-extras"
|
|
|
|
EXTRA_DEST="${XDG_DATA_HOME}/apps/releases/bat-extras"
|
|
|
|
EXTRA_CURRENT="${EXTRA_DEST}/current"
|
|
|
|
EXTRA_CURRENT="${EXTRA_DEST}/current"
|
|
|
|
EXTRA_VERSION=${EXTRA_VERSION:-2022.07.27}
|
|
|
|
EXTRA_VERSION=${EXTRA_VERSION:-2023.03.21}
|
|
|
|
|
|
|
|
|
|
|
|
MAN_DIR=${XDG_DATA_HOME}/man/man1
|
|
|
|
MAN_DIR=${XDG_DATA_HOME}/man/man1
|
|
|
|
|
|
|
|
|
|
|
@ -31,7 +31,7 @@ case $(uname -m) in
|
|
|
|
esac
|
|
|
|
esac
|
|
|
|
|
|
|
|
|
|
|
|
BAT_URL=https://github.com/sharkdp/bat/releases/download/v${BAT_VERSION}/bat-v${BAT_VERSION}-${ARCH}-${OS}.tar.gz
|
|
|
|
BAT_URL=https://github.com/sharkdp/bat/releases/download/v${BAT_VERSION}/bat-v${BAT_VERSION}-${ARCH}-${OS}.tar.gz
|
|
|
|
EXTRA_URL="https://github.com/eth-p/bat-extras/releases/download/v${EXTRA_VERSION}/bat-extras-${EXTRA_VERSION//\./}.zip"
|
|
|
|
EXTRA_URL=https://github.com/eth-p/bat-extras/releases/download/v${EXTRA_VERSION}/bat-extras-${EXTRA_VERSION//\./}.zip
|
|
|
|
|
|
|
|
|
|
|
|
set_symlink () {
|
|
|
|
set_symlink () {
|
|
|
|
local dest_dir="$1"
|
|
|
|
local dest_dir="$1"
|
|
|
|