fix logs bug adn move source definition

This commit is contained in:
godalming123 2022-02-27 17:39:22 +00:00 committed by GitHub
parent bd311fae28
commit ae8ddc3062
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 9 deletions

View File

@ -28,7 +28,8 @@ 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 ( arch-chroot /mnt /usr/bin/runuser -u $USERNAME -- /home/$USERNAME/ArchTitus/scripts/2-user.sh )|& tee logs/2-user.log
fi fi
( arch-chroot /mnt $HOME/ArchTitus/scripts/3-post-setup.sh )|& tee logs/3-post-setup.log ( arch-chroot /mnt $HOME/ArchTitus/scripts/3-post-setup.sh )|& tee logs/3-post-setup.log
cp -v *.log /mnt/home/$USERNAME mkdir /mnt/home/$USERNAME/installLogs
cp -v logs/*.log /mnt/home/$USERNAME/installLogs
echo -ne " echo -ne "
------------------------------------------------------------------------- -------------------------------------------------------------------------

View File

@ -14,6 +14,7 @@ echo -ne "
Installing AUR Softwares Installing AUR Softwares
" "
source $HOME/ArchTitus/configs/setup.conf
addAUR () { addAUR () {
cd ~ cd ~
@ -39,8 +40,6 @@ installFromFile () {
done done
} }
source $HOME/ArchTitus/configs/setup.conf
cd ~ cd ~
mkdir "/home/$USERNAME/.cache" mkdir "/home/$USERNAME/.cache"
touch "/home/$USERNAME/.cache/zshhistory" touch "/home/$USERNAME/.cache/zshhistory"