diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-01-05 22:51:26 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-01-05 22:51:26 -0500 |
commit | 9120886b119a1d60704f67e26509d05dd301649a (patch) | |
tree | 3069190208ab662db21a36269f66af314e765fa7 /libre/pacman/pacman.install | |
parent | 52281f6006c5a93b3d5fd1fec4f48c6591f91f91 (diff) | |
parent | 7166e2302ae1b95734a166b65f432cb1706779a4 (diff) |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/abslibre
Diffstat (limited to 'libre/pacman/pacman.install')
-rw-r--r-- | libre/pacman/pacman.install | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libre/pacman/pacman.install b/libre/pacman/pacman.install index 0e598bb4b..4369edab1 100644 --- a/libre/pacman/pacman.install +++ b/libre/pacman/pacman.install @@ -9,6 +9,17 @@ post_upgrade() { if [ "$(vercmp $2 3.5.0)" -lt 0 ]; then _warnupgrade fi + _check_pubring +} + +post_install() { + _check_pubring +} + +_check_pubring() { + if [ ! -f "etc/pacman.d/gnupg/pubring.gpg" ]; then + echo " >>> Run \`pacman-key --init\` to set up your pacman keyring." + fi } _warnupgrade() { |