mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2025-06-29 04:00:42 +00:00
Don't needlessly reinstall pkgs in install scripts
This commit is contained in:
parent
5f3d1fde5d
commit
9e242c5f47
3 changed files with 20 additions and 17 deletions
|
@ -18,10 +18,11 @@ fi
|
|||
pushd "$(dirname "$0")"
|
||||
|
||||
# Install essential packages
|
||||
pacman -Syu --noconfirm networkmanager neovim sudo reflector pacman-contrib man-db man-pages rsync btop bind tldr base-devel git pkgfile
|
||||
pacman -Syu --noconfirm --needed \
|
||||
networkmanager neovim sudo reflector pacman-contrib man-db man-pages rsync btop bind tldr base-devel git pkgfile
|
||||
|
||||
# Install packages necessary for this script / other scripts in this dotfiles repo
|
||||
pacman -Syu --noconfirm python-rich bc lua jq bat
|
||||
pacman -Syu --noconfirm --needed python-rich bc lua jq bat
|
||||
|
||||
# Copy over system configuration data
|
||||
cp root/etc/pacman.conf /etc
|
||||
|
@ -48,7 +49,7 @@ git clone https://github.com/jandamm/zgenom ~/.config/zsh/.zgenom
|
|||
install -m 700 -d ~/.local/share/gnupg
|
||||
|
||||
# Install zsh and make it the default shell for root
|
||||
sudo pacman -S --noconfirm zsh
|
||||
sudo pacman -S --noconfirm --needed zsh
|
||||
chsh -s /usr/bin/zsh root
|
||||
|
||||
# Enable some basic services
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue