summaryrefslogtreecommitdiff
path: root/configs/releng-openrc/airootfs/etc/local.d/pacman-init.start
blob: 60fdd4ded5bec476ea362c836de0bf33ef5032ba (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
fi