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

@ -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