Update archtitus.sh
This commit is contained in:
parent
d52bf9e5e1
commit
2f38651313
10
archtitus.sh
10
archtitus.sh
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#github-action genshdoc
|
#github-action genshdoc
|
||||||
#
|
#
|
||||||
# @file ArchTitus
|
# @file Installer
|
||||||
# @brief Entrance script that launches children scripts for each phase of installation.
|
# @brief Entrance script that launches children scripts for each phase of installation.
|
||||||
|
|
||||||
# Find the name of the folder the scripts are in
|
# Find the name of the folder the scripts are in
|
||||||
|
|
@ -21,16 +21,16 @@ echo -ne "
|
||||||
-------------------------------------------------------------------------
|
-------------------------------------------------------------------------
|
||||||
Automated Arch Linux Installer
|
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
|
( bash $SCRIPT_DIR/scripts/startup.sh )|& tee startup.log
|
||||||
source $CONFIGS_DIR/setup.conf
|
source $CONFIGS_DIR/setup.conf
|
||||||
( bash $SCRIPT_DIR/scripts/0-preinstall.sh )|& tee 0-preinstall.log
|
( 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
|
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
|
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
|
cp -v *.log /mnt/home/$USERNAME
|
||||||
|
|
||||||
echo -ne "
|
echo -ne "
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue