From e899c044cca01a589241056583749c489e83c67c Mon Sep 17 00:00:00 2001 From: narpin <106034072+narpin@users.noreply.github.com> Date: Sat, 11 Jun 2022 10:53:41 -0400 Subject: [PATCH] Update and rename archtitus.sh to nicocoolos.sh --- archtitus.sh | 48 ------------------------------------------------ nicocoolos.sh | 42 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+), 48 deletions(-) delete mode 100755 archtitus.sh create mode 100755 nicocoolos.sh diff --git a/archtitus.sh b/archtitus.sh deleted file mode 100755 index afed5fa..0000000 --- a/archtitus.sh +++ /dev/null @@ -1,48 +0,0 @@ -#!/bin/bash -#github-action genshdoc -# -# @file ArchTitus -# @brief Entrance script that launches children scripts for each phase of installation. - -# Find the name of the folder the scripts are in -set -a -SCRIPT_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )" -SCRIPTS_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"/scripts -CONFIGS_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"/configs -set +a -echo -ne " -------------------------------------------------------------------------- - █████╗ ██████╗ ██████╗██╗ ██╗████████╗██╗████████╗██╗ ██╗███████╗ - ██╔══██╗██╔══██╗██╔════╝██║ ██║╚══██╔══╝██║╚══██╔══╝██║ ██║██╔════╝ - ███████║██████╔╝██║ ███████║ ██║ ██║ ██║ ██║ ██║███████╗ - ██╔══██║██╔══██╗██║ ██╔══██║ ██║ ██║ ██║ ██║ ██║╚════██║ - ██║ ██║██║ ██║╚██████╗██║ ██║ ██║ ██║ ██║ ╚██████╔╝███████║ - ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚══════╝ -------------------------------------------------------------------------- - Automated Arch Linux Installer -------------------------------------------------------------------------- - Scripts are in directory named ArchTitus -" - ( 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 - if [[ ! $DESKTOP_ENV == server ]]; then - ( arch-chroot /mnt /usr/bin/runuser -u $USERNAME -- /home/$USERNAME/ArchTitus/scripts/2-user.sh )|& tee 2-user.log - fi - ( arch-chroot /mnt $HOME/ArchTitus/scripts/3-post-setup.sh )|& tee 3-post-setup.log - cp -v *.log /mnt/home/$USERNAME - -echo -ne " -------------------------------------------------------------------------- - █████╗ ██████╗ ██████╗██╗ ██╗████████╗██╗████████╗██╗ ██╗███████╗ - ██╔══██╗██╔══██╗██╔════╝██║ ██║╚══██╔══╝██║╚══██╔══╝██║ ██║██╔════╝ - ███████║██████╔╝██║ ███████║ ██║ ██║ ██║ ██║ ██║███████╗ - ██╔══██║██╔══██╗██║ ██╔══██║ ██║ ██║ ██║ ██║ ██║╚════██║ - ██║ ██║██║ ██║╚██████╗██║ ██║ ██║ ██║ ██║ ╚██████╔╝███████║ - ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚══════╝ -------------------------------------------------------------------------- - Automated Arch Linux Installer -------------------------------------------------------------------------- - Done - Please Eject Install Media and Reboot -" diff --git a/nicocoolos.sh b/nicocoolos.sh new file mode 100755 index 0000000..c9aee09 --- /dev/null +++ b/nicocoolos.sh @@ -0,0 +1,42 @@ +#!/bin/bash +#github-action genshdoc +# +# @file ArchTitus +# @brief Entrance script that launches children scripts for each phase of installation. + +# Find the name of the folder the scripts are in +set -a +SCRIPT_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )" +SCRIPTS_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"/scripts +CONFIGS_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"/configs +set +a +echo -ne " +------------------------------------------------------------------------- + ╔═╦╦╦═╦═╦═╦═╦═╦╗╔═╦══╗ + ║║║║║╠╣║║╠╣║║║║╚╣║╠╗╚╣ + ╚╩═╩╩═╩═╩═╩═╩═╩═╩═╩══╝ +------------------------------------------------------------------------- + Automated Arch Linux Installer +------------------------------------------------------------------------- + Scripts are in directory named nicocoolos +" + ( 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/nicocoolos/scripts/1-setup.sh )|& tee 1-setup.log + if [[ ! $DESKTOP_ENV == server ]]; then + ( arch-chroot /mnt /usr/bin/runuser -u $USERNAME -- /home/$USERNAME/nicocoolos/scripts/2-user.sh )|& tee 2-user.log + fi + ( arch-chroot /mnt $HOME/nicocoolos/scripts/3-post-setup.sh )|& tee 3-post-setup.log + cp -v *.log /mnt/home/$USERNAME + +echo -ne " +------------------------------------------------------------------------- + ╔═╦╦╦═╦═╦═╦═╦═╦╗╔═╦══╗ + ║║║║║╠╣║║╠╣║║║║╚╣║╠╗╚╣ + ╚╩═╩╩═╩═╩═╩═╩═╩═╩═╩══╝ +------------------------------------------------------------------------- + Automated Arch Linux Installer +------------------------------------------------------------------------- + Done - Please Eject Install Media and Reboot +"