Update archtitus.sh

This commit is contained in:
ArcExp 2023-10-12 14:18:03 +01:00 committed by GitHub
parent d52bf9e5e1
commit 2f38651313
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -1,7 +1,7 @@
#!/bin/bash
#github-action genshdoc
#
# @file ArchTitus
# @file Installer
# @brief Entrance script that launches children scripts for each phase of installation.
# Find the name of the folder the scripts are in
@ -21,16 +21,16 @@ echo -ne "
-------------------------------------------------------------------------
Automated Arch Linux Installer
-------------------------------------------------------------------------
Scripts are in directory named ArchTitus
Scripts are in directory named Installer
"
( bash $SCRIPT_DIR/scripts/startup.sh )|& tee startup.log
source $CONFIGS_DIR/setup.conf
( bash $SCRIPT_DIR/scripts/0-preinstall.sh )|& tee 0-preinstall.log
( arch-chroot /mnt $HOME/ArchTitus/scripts/1-setup.sh )|& tee 1-setup.log
( arch-chroot /mnt $HOME/Installer/scripts/1-setup.sh )|& tee 1-setup.log
if [[ ! $DESKTOP_ENV == server ]]; then
( arch-chroot /mnt /usr/bin/runuser -u $USERNAME -- /home/$USERNAME/ArchTitus/scripts/2-user.sh )|& tee 2-user.log
( arch-chroot /mnt /usr/bin/runuser -u $USERNAME -- /home/$USERNAME/Installer/scripts/2-user.sh )|& tee 2-user.log
fi
( arch-chroot /mnt $HOME/ArchTitus/scripts/3-post-setup.sh )|& tee 3-post-setup.log
( arch-chroot /mnt $HOME/Installer/scripts/3-post-setup.sh )|& tee 3-post-setup.log
cp -v *.log /mnt/home/$USERNAME
echo -ne "