allow ability to select aur helper
This commit is contained in:
parent
d415a6d1e3
commit
0486623110
21
2-user.sh
21
2-user.sh
|
|
@ -18,10 +18,23 @@ Installing AUR Softwares
|
|||
source $HOME/ArchTitus/setup.conf
|
||||
|
||||
cd ~
|
||||
git clone "https://aur.archlinux.org/yay.git"
|
||||
cd ~/yay
|
||||
makepkg -si --noconfirm
|
||||
cd ~
|
||||
case $AURHELPER in
|
||||
"1")
|
||||
git clone "https://aur.archlinux.org/yay.git"
|
||||
cd ~/yay
|
||||
makepkg -si --noconfirm
|
||||
cd ~ ;;
|
||||
"2")
|
||||
git clone "https://aur.archlinux.org/paru.git"
|
||||
cd ~/paru
|
||||
makepkg -si --noconfirm
|
||||
cd ~ ;;
|
||||
"3")
|
||||
echo ""
|
||||
echo "no aur helper selected"
|
||||
echo ""
|
||||
esac
|
||||
|
||||
touch "~/.cache/zshhistory"
|
||||
git clone "https://github.com/ChrisTitusTech/zsh"
|
||||
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ~/powerlevel10k
|
||||
|
|
|
|||
19
startup.sh
19
startup.sh
|
|
@ -108,6 +108,17 @@ read -p "Your key boards layout:" keymap
|
|||
set_option KEYMAP $keymap
|
||||
}
|
||||
|
||||
aurHelper () {
|
||||
echo -ne "
|
||||
Pick your AUR helper:
|
||||
1) yay
|
||||
2) paru
|
||||
3) none
|
||||
"
|
||||
read -p "AUR helper:" aurHelper
|
||||
set_option AURHELPER $aurHelper
|
||||
}
|
||||
|
||||
drivessd () {
|
||||
echo -ne "
|
||||
Is this an ssd? yes/no:
|
||||
|
|
@ -158,15 +169,23 @@ set_option nameofmachine $nameofmachine
|
|||
clear
|
||||
logo
|
||||
userinfo
|
||||
|
||||
clear
|
||||
logo
|
||||
aurHelper
|
||||
|
||||
clear
|
||||
logo
|
||||
diskpart
|
||||
|
||||
clear
|
||||
logo
|
||||
filesystem
|
||||
|
||||
clear
|
||||
logo
|
||||
timezone
|
||||
|
||||
clear
|
||||
logo
|
||||
keymap
|
||||
Loading…
Reference in New Issue