diff --git a/podman-privatebin/10_install.sh b/podman-privatebin/10_install.sh index efca28c..2d8a015 100755 --- a/podman-privatebin/10_install.sh +++ b/podman-privatebin/10_install.sh @@ -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} &&