From 56fb2b0844be2acdc3879f6cb15a4f4773035ebd Mon Sep 17 00:00:00 2001 From: Timothée Ravier Date: Sep 28 2021 21:40:58 +0000 Subject: build & preview: Update whitespace --- diff --git a/build.sh b/build.sh index d7533f6..8365337 100755 --- a/build.sh +++ b/build.sh @@ -21,9 +21,9 @@ container_launch() { fi else - echo "Error: No container runtimes were found." - echo "Please install either podman or docker" - exit 1 + echo "Error: No container runtimes were found." + echo "Please install either podman or docker" + exit 1 fi } diff --git a/preview.sh b/preview.sh index ad3f451..39328c4 100755 --- a/preview.sh +++ b/preview.sh @@ -11,15 +11,15 @@ container_launch() { elif hash docker 2>/dev/null; then - if groups | grep -wq "docker"; then + if groups | grep -wq "docker"; then echo "Docker is launching the preview in an isolated environment." - echo "The preview will be available at http://localhost:8080/" + echo "The preview will be available at http://localhost:8080/" docker $1 else echo "This preview script is using $runtime to run the preview in an isolated environment. You might be asked for your password." echo "You can avoid this by adding your user to the 'docker' group, but be aware of the security implications. See https://docs.docker.com/install/linux/linux-postinstall/." - echo "The preview will be available at http://localhost:8080/" + echo "The preview will be available at http://localhost:8080/" sudo docker $1 fi