move logs to logs folder
This commit is contained in:
parent
104e37312c
commit
dee731352d
19
archtitus.sh
19
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 "
|
||||
-------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Reference in New Issue