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
|
Scripts are in directory named ArchTitus
|
||||||
"
|
"
|
||||||
( bash $SCRIPT_DIR/scripts/startup.sh )|& tee startup.log
|
mkdir logs
|
||||||
source $CONFIGS_DIR/setup.conf
|
( bash $SCRIPT_DIR/scripts/startup.sh )|& tee logs/startup.log
|
||||||
( bash $SCRIPT_DIR/scripts/0-preinstall.sh )|& tee 0-preinstall.log
|
source $CONFIGS_DIR/setup.conf
|
||||||
( arch-chroot /mnt $HOME/ArchTitus/scripts/1-setup.sh )|& tee 1-setup.log
|
( bash $SCRIPT_DIR/scripts/0-preinstall.sh )|& tee logs/0-preinstall.log
|
||||||
if [[ ! $DESKTOP_ENV == server ]]; then
|
( arch-chroot /mnt $HOME/ArchTitus/scripts/1-setup.sh )|& logs/tee 1-setup.log
|
||||||
( arch-chroot /mnt /usr/bin/runuser -u $USERNAME -- /home/$USERNAME/ArchTitus/scripts/2-user.sh )|& tee 2-user.log
|
if [[ ! $DESKTOP_ENV == server ]]; then
|
||||||
fi
|
( arch-chroot /mnt /usr/bin/runuser -u $USERNAME -- /home/$USERNAME/ArchTitus/scripts/2-user.sh )|& tee logs/2-user.log
|
||||||
( arch-chroot /mnt $HOME/ArchTitus/scripts/3-post-setup.sh )|& tee 3-post-setup.log
|
fi
|
||||||
cp -v *.log /mnt/home/$USERNAME
|
( arch-chroot /mnt $HOME/ArchTitus/scripts/3-post-setup.sh )|& tee logs/3-post-setup.log
|
||||||
|
cp -v *.log /mnt/home/$USERNAME
|
||||||
|
|
||||||
echo -ne "
|
echo -ne "
|
||||||
-------------------------------------------------------------------------
|
-------------------------------------------------------------------------
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue