diff --git a/scripts/3-post-setup.sh b/scripts/3-post-setup.sh index a17f72b..345a3c2 100755 --- a/scripts/3-post-setup.sh +++ b/scripts/3-post-setup.sh @@ -13,13 +13,13 @@ echo -ne " ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚══════╝ ------------------------------------------------------------------------- Automated Arch Linux Installer - SCRIPTHOME: ArchTitus + SCRIPTHOME: Installer ------------------------------------------------------------------------- Final Setup and Configurations GRUB EFI Bootloader Install & Check " -source ${HOME}/ArchTitus/configs/setup.conf +source ${HOME}/Installer/configs/setup.conf if [[ -d "/sys/firmware/efi" ]]; then grub-install --efi-directory=/boot ${DISK} @@ -43,7 +43,7 @@ THEME_NAME=CyberRe echo -e "Creating the theme directory..." mkdir -p "${THEME_DIR}/${THEME_NAME}" echo -e "Copying the theme..." -cd ${HOME}/ArchTitus +cd ${HOME}/Installer cp -a configs${THEME_DIR}/${THEME_NAME}/* ${THEME_DIR}/${THEME_NAME} echo -e "Backing up Grub config..." cp -an /etc/default/grub /etc/default/grub.bak @@ -111,11 +111,11 @@ echo -ne " ------------------------------------------------------------------------- " -SNAPPER_CONF="$HOME/ArchTitus/configs/etc/snapper/configs/root" +SNAPPER_CONF="$HOME/Installer/configs/etc/snapper/configs/root" mkdir -p /etc/snapper/configs/ cp -rfv ${SNAPPER_CONF} /etc/snapper/configs/ -SNAPPER_CONF_D="$HOME/ArchTitus/configs/etc/conf.d/snapper" +SNAPPER_CONF_D="$HOME/Installer/configs/etc/conf.d/snapper" mkdir -p /etc/conf.d/ cp -rfv ${SNAPPER_CONF_D} /etc/conf.d/ @@ -126,7 +126,7 @@ echo -ne " Enabling (and Theming) Plymouth Boot Splash ------------------------------------------------------------------------- " -PLYMOUTH_THEMES_DIR="$HOME/ArchTitus/configs/usr/share/plymouth/themes" +PLYMOUTH_THEMES_DIR="$HOME/Installer/configs/usr/share/plymouth/themes" PLYMOUTH_THEME="arch-glow" # can grab from config later if we allow selection mkdir -p /usr/share/plymouth/themes echo 'Installing Plymouth theme...' @@ -152,8 +152,8 @@ sed -i 's/^%wheel ALL=(ALL:ALL) NOPASSWD: ALL/# %wheel ALL=(ALL:ALL) NOPASSWD: A sed -i 's/^# %wheel ALL=(ALL) ALL/%wheel ALL=(ALL) ALL/' /etc/sudoers sed -i 's/^# %wheel ALL=(ALL:ALL) ALL/%wheel ALL=(ALL:ALL) ALL/' /etc/sudoers -rm -r $HOME/ArchTitus -rm -r /home/$USERNAME/ArchTitus +rm -r $HOME/Installer +rm -r /home/$USERNAME/Installer # Replace in the same state cd $pwd