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
fi
( 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 "
-------------------------------------------------------------------------

View File

@ -14,6 +14,7 @@ echo -ne "
Installing AUR Softwares
"
source $HOME/ArchTitus/configs/setup.conf
addAUR () {
cd ~
@ -39,14 +40,12 @@ installFromFile () {
done
}
source $HOME/ArchTitus/configs/setup.conf
cd ~
mkdir "/home/$USERNAME/.cache"
touch "/home/$USERNAME/.cache/zshhistory"
git clone "https://github.com/ChrisTitusTech/zsh"
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ~/powerlevel10k
ln -s "~/zsh/.zshrc" ~/.zshrc
cd ~
mkdir "/home/$USERNAME/.cache"
touch "/home/$USERNAME/.cache/zshhistory"
git clone "https://github.com/ChrisTitusTech/zsh"
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ~/powerlevel10k
ln -s "~/zsh/.zshrc" ~/.zshrc
installFromFile ~/ArchTitus/pkg-files/${DESKTOP_ENV}.txt