diff --git a/s/docker-delete-local-data b/s/docker-delete-local-data index 552ae06e1..451285acb 100755 --- a/s/docker-delete-local-data +++ b/s/docker-delete-local-data @@ -10,12 +10,10 @@ echo "Are you sure you want to continue? (yes/no)" read -r response if [[ "$response" =~ ^([yY][eE][sS]|[yY])$ ]]; then - if [[ -d "./data" ]]; then - echo "Deleting local data..." - # shuts down the Docker Compose setup and remove containers and images - docker compose down -v --rmi local # removes the volumes, container and local images - echo "Local data has been deleted." - fi + echo "Deleting local data..." + # shuts down the Docker Compose setup and remove containers and images + docker compose down -v --rmi local # removes the volumes, container and local images + echo "Local data has been deleted." else echo "Aborting. No data has been deleted." fi