From 21edecae22309611797358596a027db170d52fd1 Mon Sep 17 00:00:00 2001 From: Mario Alegre Date: Sat, 26 Sep 2020 14:28:21 -0400 Subject: [PATCH] bugfixes to pdm-launch --- bin/pdm-launch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/pdm-launch b/bin/pdm-launch index e3bca09..d217539 100755 --- a/bin/pdm-launch +++ b/bin/pdm-launch @@ -37,7 +37,7 @@ else name=$image fi -if [[ $FLAGS_config == $FLAGS_TRUE ]]; then +if [[ $FLAGS_config -eq $FLAGS_TRUE ]]; then echo "Getting deploy options from image metadata label \"$FLAGS_label\" ..." deployopts=$(podman image inspect -f "{{ .Config.Labels.${FLAGS_label} }}" $image) if [[ $deployopts == "" ]]; then @@ -48,7 +48,7 @@ else deployopts="" fi -if [[ $FLAGS_overwrite ]]; then +if [[ $FLAGS_overwrite -eq $FLAGS_TRUE ]]; then podman rm -i -f $name fi