Files
omarchy/install/1-yay.sh

18 lines
438 B
Bash
Raw Normal View History

2025-06-02 09:41:24 +02:00
sudo pacman -S --needed --noconfirm base-devel
2025-06-02 10:34:34 +02:00
if ! command -v yay &>/dev/null; then
cd /tmp
2025-06-02 10:34:34 +02:00
git clone https://aur.archlinux.org/yay-bin.git
cd yay-bin
makepkg -si --noconfirm
cd -
2025-06-02 10:34:34 +02:00
rm -rf yay-bin
cd ~
2025-06-02 10:34:34 +02:00
fi
# FIXME: Temporary fix for the fact that some locations can't reach the default keyserver
if [[ ! -f "$HOME/.gnupg/gpg.conf" ]]; then
mkdir -p ~/.gnupg
echo "keyserver hkps://pgp.mit.edu" >~/.gnupg/dirmngr.conf
fi