diff options
author | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2012-07-19 11:34:20 -0300 |
---|---|---|
committer | Nicolás Reynolds <apoyosis@correo.inta.gob.ar> | 2012-07-19 11:34:20 -0300 |
commit | 9c87491d3f89760db988664f092bfbdbb66a1e92 (patch) | |
tree | ef759a001ce3035bb633fa532b194299260c8af7 /libre/pacman/pacman.install | |
parent | 1e4417fa238cd61e969e3e0892f253064bf5ee07 (diff) | |
download | abslibre-9c87491d3f89760db988664f092bfbdbb66a1e92.tar.gz abslibre-9c87491d3f89760db988664f092bfbdbb66a1e92.tar.bz2 abslibre-9c87491d3f89760db988664f092bfbdbb66a1e92.zip |
libre/pacman-4.0.3-3
recovered rePKGBUILD
Diffstat (limited to 'libre/pacman/pacman.install')
-rw-r--r-- | libre/pacman/pacman.install | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/libre/pacman/pacman.install b/libre/pacman/pacman.install index 4369edab1..487819ab7 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,9 @@ 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 " >>> to import the data required by pacman for package verification." + echo " >>> See: https://www.archlinux.org/news/having-pacman-verify-packages" } _warnupgrade() { |