15 lines
500 B
Bash
15 lines
500 B
Bash
#!/bin/bash
|
|
|
|
# Install build tools
|
|
sudo pacman -Sy --needed --noconfirm base-devel jq
|
|
|
|
# Add fun and color and verbosity to the pacman installer
|
|
if ! grep -q "ILoveCandy" /etc/pacman.conf; then
|
|
sudo sed -i '/^\[options\]/a Color\nILoveCandy\nVerbosePkgLists' /etc/pacman.conf
|
|
fi
|
|
|
|
# Add the Omarchy repository first
|
|
if ! grep -q "omarchy" /etc/pacman.conf; then
|
|
sudo sed -i '/^\[core\]/i [omarchy]\nSigLevel = Optional TrustAll\nServer = https:\/\/pkgs.omarchy.org\/$arch\/\n' /etc/pacman.conf
|
|
fi
|