Update archtitus.sh

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

View File

@ -17,7 +17,7 @@ echo -ne "
Scripts are in directory named ArchTitus
"
#!/bin/bash
if [ -f /.dockerenv ]; then
if [ -f /root/dockerenv ]; then
echo "docker container found, i can't install"
break
else
@ -27,6 +27,7 @@ else
arch-chroot /mnt /root/ArchTitus/1-setup.sh
arch-chroot /mnt /usr/bin/runuser -u $USERNAME -- /home/$USERNAME/ArchTitus/2-user.sh
arch-chroot /mnt /root/ArchTitus/3-post-setup.sh
echo -ne "
-------------------------------------------------------------------------
█████╗ ██████╗ ██████╗██╗ ██╗████████╗██╗████████╗██╗ ██╗███████╗