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