bash script bug fixes

This commit is contained in:
Martinvlba 2023-11-06 15:30:16 +00:00
parent 55dbb240ac
commit a808e609a7

View File

@ -5,7 +5,7 @@
image_manager() {
# Check for existing image and download if missing
if [ $(sudo docker image ls -a | grep -wo hilledkinged/evolinx) = "hilledkinged/evolinx" ]; then
if [ "$(sudo docker image ls -a | grep -wo hilledkinged/evolinx)" = "hilledkinged/evolinx" ]; then
message "Image found and not pulling it again"
else
sudo docker pull hilledkinged/evolinx:latest