dontpull : privatebin

This commit is contained in:
Gitouche 2022-11-13 14:10:30 +01:00
parent 2d1cd576a6
commit bff0abb2a8
1 changed files with 3 additions and 1 deletions

View File

@ -12,7 +12,9 @@ if ! podman volume exists ${srvdata_volume} ; then
exit 1
fi
podman pull "${privatebin_image}":"${privatebin_version}" &&
if ! podman image exists "${privatebin_image}":"${privatebin_version}"; then
podman image pull "${privatebin_image}":"${privatebin_version}" || exit 1
fi
podman volume create ${run_volume} &&
podman volume create ${tmp_volume} &&
podman volume create ${varlibnginxtmp_volume} &&