diff --git a/scripts/docker-entrypoint.sh b/scripts/docker-entrypoint.sh
index 8ce3250f785930fabb2bb27e59d52e18cae71e40..13501e0d43ebdc4537a2d7ccddfc9dc857a2ab8e 100755
--- a/scripts/docker-entrypoint.sh
+++ b/scripts/docker-entrypoint.sh
@@ -4,9 +4,9 @@ python3 manage.py makemigrations drugstone
 python3 manage.py migrate
 python3 manage.py createfixtures
 python3 manage.py cleanuptasks
-if [[ -z "$DB_UPDATE_ON_START" ]] || [[ "$DB_UPDATE_ON_START" = "0" ]]
+if [ -z "$DB_UPDATE_ON_START" ] || [ "$DB_UPDATE_ON_START" = "0" ]
 then
-echo "Update on startup disabled!"
+ echo "Update on startup disabled!"
 else
  python3 manage.py populate_db --update -a
  python3 manage.py make_graphs