parent
e8f9d35afa
commit
80721a16b2
@ -1,21 +0,0 @@
|
|||||||
#!/usr/bin/bash
|
|
||||||
|
|
||||||
ENABLED=yes
|
|
||||||
[[ ${ENABLED} == yes ]] || exit 0
|
|
||||||
|
|
||||||
DEBUGMODE=no
|
|
||||||
. /usr/lib/ublinux/functions
|
|
||||||
debug_mode "$0" "$@"
|
|
||||||
|
|
||||||
init_pacman_gpg() {
|
|
||||||
pacman-key --init &>/dev/null
|
|
||||||
pacman-key --populate $(ls /usr/share/pacman/keyrings/*.gpg | sed 's%.*/%%;s%\.[^.]*$%%') &>/dev/null
|
|
||||||
#usr/bin/pacman-key --updatedb
|
|
||||||
}
|
|
||||||
|
|
||||||
[[ -d /etc/pacman.d/gnupg ]] || init_pacman_gpg
|
|
||||||
if ! /usr/bin/pacman-key -l &>/dev/null 2>&1; then
|
|
||||||
rm -rdf /etc/pacman.d/gnupg
|
|
||||||
init_pacman_gpg
|
|
||||||
fi
|
|
||||||
|
|
||||||
Loading…
Reference in new issue