From 30ef9a9858c716e33d449d582a86f1baad1ff6a9 Mon Sep 17 00:00:00 2001 From: solomoncyj Date: Sat, 12 Feb 2022 18:18:47 +0800 Subject: [PATCH] Update archtitus.sh --- archtitus.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/archtitus.sh b/archtitus.sh index 0ed39f6..5bd6f1d 100755 --- a/archtitus.sh +++ b/archtitus.sh @@ -17,8 +17,8 @@ echo -ne " Scripts are in directory named ArchTitus " #!/bin/bash -if [ -f /root/dockerenv ]; then - echo "docker container found, i can't install" +if awk -F/ '$2 == "docker"' /proc/self/cgroup | read; then + echo -ne "docker container found script can't install (at the moment)" else bash startup.sh source $SCRIPT_DIR/setup.conf