Update archtitus.sh

This commit is contained in:
solomoncyj 2022-02-12 18:18:47 +08:00 committed by GitHub
parent 6ff8c2b8a3
commit 30ef9a9858
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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