summaryrefslogtreecommitdiff
path: root/configs/releng-openrc/airootfs/etc/local.d/pacman-init.start
blob: 41c6166c6e0b2919be4739c973b969fb3c9a8985 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/bash
#
# SPDX-License-Identifier: GPL-3.0-or-later

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