|
|
|
@ -14,7 +14,7 @@ function get_os () {
|
|
|
|
|
APP=gitea
|
|
|
|
|
DEST=${XDG_DATA_HOME}/apps/releases/${APP}
|
|
|
|
|
CURRENT=${DEST}/current
|
|
|
|
|
VERSION=${VERSION:-1.18.3}
|
|
|
|
|
VERSION=${VERSION:-1.19.0}
|
|
|
|
|
URL=https://dl.gitea.io/gitea/${VERSION}/gitea-${VERSION}-$(get_os)-$(get_arch).xz
|
|
|
|
|
|
|
|
|
|
if [ ! -d "${DEST}/${VERSION}" ]; then
|
|
|
|
|