Always sync and update before installing

This commit is contained in:
ItsDrike 2023-08-01 13:20:05 +02:00
parent 9e242c5f47
commit 5bf0cd7267
3 changed files with 9 additions and 0 deletions

View file

@ -46,6 +46,9 @@ cp -ra home/.config/swayidle ~/.config
cp -ra home/.config/swaylock ~/.config
cp -ra home/.config/wofi ~/.config
# Sync mirrors and update before other installations
yay -Syu --noconfirm
# Instal fonts
yay -S --noconfirm --needed \
libxft ttf-hack ttf-joypixels noto-fonts noto-fonts-cjk noto-fonts-emoji ttf-font-awesome \

View file

@ -17,6 +17,9 @@ fi
# cd into the dotfiles dir, no matter where the script was called from
pushd "$(dirname "$0")"
# Sync mirrors and update before other installations
pacman -Syu --noconfirm
# Install essential packages
pacman -Syu --noconfirm --needed \
networkmanager neovim sudo reflector pacman-contrib man-db man-pages rsync btop bind tldr base-devel git pkgfile

View file

@ -30,6 +30,9 @@ makepkg -si
popd
rm -rf ~/yay
# Sync mirrors and update before other installations
yay -Syu --noconfirm
# Install some useful packages
yay -S --noconfirm --needed \
openssh cronie exa bat dust mlocate lshw trash-cli ncdu btop \