@ -12,9 +12,9 @@ function get_os () {
}
APP=gitea
DEST="${XDG_DATA_HOME}/apps/releases/${APP}"
CURRENT="${DEST}/current"
VERSION=${VERSION:-1.15.0}
DEST=${XDG_DATA_HOME}/apps/releases/${APP}
CURRENT=${DEST}/current
VERSION=${VERSION:-1.18}
URL=https://dl.gitea.io/gitea/${VERSION}/gitea-${VERSION}-$(get_os)-$(get_arch).xz
if [ ! -d "${DEST}/${VERSION}" ]; then
DEST="/usr/local/apps/${APP}"
DEST=/usr/local/apps/${APP}
BIN_DIR=/usr/local/bin