summaryrefslogtreecommitdiff
path: root/configs/releng-openrc/airootfs/etc/local.d/pacman-init.start
blob: fcb588dcb380c991680898d6692efb5c7ea31ede (plain)
1
2
3
4
5
6
7
#!/bin/bash

# Initializes Pacman keyring
if ! find /etc/pacman.d/gnupg -mindepth 1 2>/dev/null | read -r; then
  pacman-key --init
  pacman-key --populate
fi