diff options
author | root <root@rshg054.dnsready.net> | 2012-07-20 00:01:55 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-07-20 00:01:55 +0000 |
commit | 226ac092dca4754b7b5a421e226c5971e3b607b2 (patch) | |
tree | 796c17bdf61c132bbe79e010febb2bca54e85c0e /libre/pacman/pacman.install | |
parent | 6b87f8519dc037f4fd4c19d8f36b7d7565559bd3 (diff) |
Fri Jul 20 00:01:55 UTC 2012
Diffstat (limited to 'libre/pacman/pacman.install')
-rw-r--r-- | libre/pacman/pacman.install | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/libre/pacman/pacman.install b/libre/pacman/pacman.install index 4369edab1..5dc55c0c2 100644 --- a/libre/pacman/pacman.install +++ b/libre/pacman/pacman.install @@ -9,7 +9,9 @@ post_upgrade() { if [ "$(vercmp $2 3.5.0)" -lt 0 ]; then _warnupgrade fi - _check_pubring + if [ ! -f "etc/pacman.d/gnupg/pubring.gpg" ] || [ "$(vercmp $2 4.0.3-2)" -lt 0 ]; then + _check_pubring + fi } post_install() { @@ -17,9 +19,10 @@ post_install() { } _check_pubring() { - if [ ! -f "etc/pacman.d/gnupg/pubring.gpg" ]; then - echo " >>> Run \`pacman-key --init\` to set up your pacman keyring." - fi + echo " >>> Run \`pacman-key --init; pacman-key --populate archlinux\`" + echo " >>> And \`pacman-key --populate parabola\`" + echo " >>> to import the data required by pacman for package verification." + echo " >>> See: https://www.archlinux.org/news/having-pacman-verify-packages" } _warnupgrade() { |