chore: organisation
This commit is contained in:
24
script/install.d/12-pacman.sh
Normal file
24
script/install.d/12-pacman.sh
Normal file
@@ -0,0 +1,24 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# Description:
|
||||
# (distros with pacman only) Install core pacman packages.
|
||||
#
|
||||
|
||||
# pacman only
|
||||
[[ "$DOTS_PKG" != "pacman" ]] && { log_warn "Skipping: Not using pacman"; return 0; }
|
||||
|
||||
pacman_packages=(
|
||||
ca-certificates
|
||||
curl
|
||||
gnupg
|
||||
wget
|
||||
base-devel
|
||||
)
|
||||
|
||||
sudo pacman -Sy --noconfirm
|
||||
sudo pacman -S --noconfirm --needed "${pacman_packages[@]}"
|
||||
|
||||
unset pacman_packages
|
||||
|
||||
pacman --version
|
||||
Reference in New Issue
Block a user