From bff0abb2a8436376de9d6b7d63cfa7971f3e6383 Mon Sep 17 00:00:00 2001 From: Gitouche <26656-gitouche@users.noreply.framagit.org> Date: Sun, 13 Nov 2022 14:10:30 +0100 Subject: [PATCH] dontpull : privatebin --- podman-privatebin/10_install.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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} &&