From dee731352d5aec6a8e51610b17d3e1216341e039 Mon Sep 17 00:00:00 2001 From: godalming123 Date: Sun, 27 Feb 2022 10:40:10 +0000 Subject: [PATCH] move logs to logs folder --- archtitus.sh | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/archtitus.sh b/archtitus.sh index 693b248..362d2e1 100755 --- a/archtitus.sh +++ b/archtitus.sh @@ -19,15 +19,16 @@ echo -ne " ------------------------------------------------------------------------- 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 +mkdir logs +( bash $SCRIPT_DIR/scripts/startup.sh )|& tee logs/startup.log +source $CONFIGS_DIR/setup.conf +( bash $SCRIPT_DIR/scripts/0-preinstall.sh )|& tee logs/0-preinstall.log +( arch-chroot /mnt $HOME/ArchTitus/scripts/1-setup.sh )|& logs/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 logs/2-user.log +fi +( arch-chroot /mnt $HOME/ArchTitus/scripts/3-post-setup.sh )|& tee logs/3-post-setup.log +cp -v *.log /mnt/home/$USERNAME echo -ne " -------------------------------------------------------------------------