fixed error in 3-post-setup.sh spacing in if-statement
added minor indentation added code description with `echo`
This commit is contained in:
parent
d733f961b3
commit
96b668a6e5
|
|
@ -123,6 +123,12 @@ elif grep -E "Integrated Graphics Controller" <<< ${gpu_type}; then
|
||||||
elif grep -E "Intel Corporation UHD" <<< ${gpu_type}; then
|
elif grep -E "Intel Corporation UHD" <<< ${gpu_type}; then
|
||||||
pacman -S --needed --noconfirm libva-intel-driver libvdpau-va-gl lib32-vulkan-intel vulkan-intel libva-intel-driver libva-utils lib32-mesa
|
pacman -S --needed --noconfirm libva-intel-driver libvdpau-va-gl lib32-vulkan-intel vulkan-intel libva-intel-driver libva-utils lib32-mesa
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo -ne "
|
||||||
|
-------------------------------------------------------------------------
|
||||||
|
Set username, password, hostname
|
||||||
|
-------------------------------------------------------------------------
|
||||||
|
"
|
||||||
#SETUP IS WRONG THIS IS RUN
|
#SETUP IS WRONG THIS IS RUN
|
||||||
if ! source $HOME/ArchTitus/configs/setup.conf; then
|
if ! source $HOME/ArchTitus/configs/setup.conf; then
|
||||||
# Loop through user input until the user gives a valid username
|
# Loop through user input until the user gives a valid username
|
||||||
|
|
|
||||||
|
|
@ -15,8 +15,6 @@ echo -ne "
|
||||||
Automated Arch Linux Installer
|
Automated Arch Linux Installer
|
||||||
SCRIPTHOME: ArchTitus
|
SCRIPTHOME: ArchTitus
|
||||||
-------------------------------------------------------------------------
|
-------------------------------------------------------------------------
|
||||||
|
|
||||||
Installing AUR Softwares
|
|
||||||
"
|
"
|
||||||
source $HOME/ArchTitus/configs/setup.conf
|
source $HOME/ArchTitus/configs/setup.conf
|
||||||
|
|
||||||
|
|
@ -27,6 +25,11 @@ source $HOME/ArchTitus/configs/setup.conf
|
||||||
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ~/powerlevel10k
|
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ~/powerlevel10k
|
||||||
ln -s "~/zsh/.zshrc" ~/.zshrc
|
ln -s "~/zsh/.zshrc" ~/.zshrc
|
||||||
|
|
||||||
|
echo -ne "
|
||||||
|
-------------------------------------------------------------------------
|
||||||
|
Install Desktop Environment
|
||||||
|
-------------------------------------------------------------------------
|
||||||
|
"
|
||||||
sed -n '/'$INSTALL_TYPE'/q;p' ~/ArchTitus/pkg-files/${DESKTOP_ENV}.txt | while read line
|
sed -n '/'$INSTALL_TYPE'/q;p' ~/ArchTitus/pkg-files/${DESKTOP_ENV}.txt | while read line
|
||||||
do
|
do
|
||||||
if [[ ${line} == '--END OF MINIMAL INSTALL--' ]]
|
if [[ ${line} == '--END OF MINIMAL INSTALL--' ]]
|
||||||
|
|
@ -38,12 +41,19 @@ do
|
||||||
sudo pacman -S --noconfirm --needed ${line}
|
sudo pacman -S --noconfirm --needed ${line}
|
||||||
done
|
done
|
||||||
|
|
||||||
|
echo -ne "
|
||||||
|
-------------------------------------------------------------------------
|
||||||
|
Install AUR Software
|
||||||
|
-------------------------------------------------------------------------
|
||||||
|
"
|
||||||
if [[ ! $AUR_HELPER == none ]]; then
|
if [[ ! $AUR_HELPER == none ]]; then
|
||||||
cd ~
|
cd ~
|
||||||
git clone "https://aur.archlinux.org/$AUR_HELPER.git"
|
git clone "https://aur.archlinux.org/$AUR_HELPER.git"
|
||||||
cd ~/$AUR_HELPER
|
cd ~/$AUR_HELPER
|
||||||
makepkg -si --noconfirm
|
makepkg -si --noconfirm
|
||||||
|
cd ~
|
||||||
|
rm -rf $AUR_HELPER
|
||||||
|
|
||||||
# sed $INSTALL_TYPE is using install type to check for MINIMAL installation, if it's true, stop
|
# sed $INSTALL_TYPE is using install type to check for MINIMAL installation, if it's true, stop
|
||||||
# stop the script and move on, not installing any more packages below that line
|
# stop the script and move on, not installing any more packages below that line
|
||||||
sed -n '/'$INSTALL_TYPE'/q;p' ~/ArchTitus/pkg-files/aur-pkgs.txt | while read line
|
sed -n '/'$INSTALL_TYPE'/q;p' ~/ArchTitus/pkg-files/aur-pkgs.txt | while read line
|
||||||
|
|
@ -59,7 +69,11 @@ fi
|
||||||
|
|
||||||
export PATH=$PATH:~/.local/bin
|
export PATH=$PATH:~/.local/bin
|
||||||
|
|
||||||
# Theming DE if user chose FULL installation
|
echo -ne "
|
||||||
|
-------------------------------------------------------------------------
|
||||||
|
Theming DE if user chose FULL installation
|
||||||
|
-------------------------------------------------------------------------
|
||||||
|
"
|
||||||
if [[ $INSTALL_TYPE == "FULL" ]]; then
|
if [[ $INSTALL_TYPE == "FULL" ]]; then
|
||||||
if [[ $DESKTOP_ENV == "kde" ]]; then
|
if [[ $DESKTOP_ENV == "kde" ]]; then
|
||||||
cp -r ~/ArchTitus/configs/.config/* ~/.config/
|
cp -r ~/ArchTitus/configs/.config/* ~/.config/
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue