mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-11-10 02:39:40 +00:00
Always sync and update before installing
This commit is contained in:
parent
9e242c5f47
commit
5bf0cd7267
|
@ -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 \
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue