Merge pull request #88 from viveksray17/feature

Download and install all the packages simultaneously
This commit is contained in:
Chris Titus 2021-11-08 09:44:49 -06:00 committed by GitHub
commit 433d20f9ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 7 deletions

View File

@ -202,10 +202,8 @@ PKGS=(
'zsh-autosuggestions'
)
for PKG in "${PKGS[@]}"; do
echo "INSTALLING: ${PKG}"
sudo pacman -S "$PKG" --noconfirm --needed
done
installpkg="sudo pacman -S $(printf "%s " "${PKGS[@]}") --noconfirm --needed"
$installpkg
#
# determine processor type and install microcode

View File

@ -51,9 +51,8 @@ PKGS=(
'snap-pac'
)
for PKG in "${PKGS[@]}"; do
yay -S --noconfirm $PKG
done
installpkg="yay -S $(printf "%s " "${PKGS[@]}") --noconfirm --needed"
$installpkg
export PATH=$PATH:~/.local/bin
cp -r $HOME/$SCRIPTHOME/dotfiles/* $HOME/.config/