dontpull : gitea

This commit is contained in:
Gitouche 2022-11-13 14:06:42 +01:00
parent 691c74269d
commit 2498c1ea5f

View file

@ -50,8 +50,9 @@ export weblisten_port
export sshlisten_if export sshlisten_if
export sshlisten_port export sshlisten_port
podman image pull ${gitea_image}:${gitea_version} && if ! podman image exists ${gitea_image}:${gitea_version}; then
podman image exists ${gitea_image}:${gitea_version} && podman image pull ${gitea_image}:${gitea_version} || exit 1
fi
podman pull ${postgres_image}:${postgres_version} && podman pull ${postgres_image}:${postgres_version} &&
# force refresh of app.ini # force refresh of app.ini
podman unshare rm -f `get_podman_volume_path ${datavolume}`/gitea/conf/app.ini podman unshare rm -f `get_podman_volume_path ${datavolume}`/gitea/conf/app.ini