diff options
author | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2012-07-19 14:26:16 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2012-07-19 14:26:16 -0300 |
commit | 152f73fe6e06c0d49505c046786ead7c5afb7cbc (patch) | |
tree | 11053f52e5547bcd12862b23915abafa77f00458 /libre/pacman/pacman.install | |
parent | f424dc07b1a9dd6064f40260255fae7607db3f78 (diff) | |
parent | ce32ebcbf7baaf37c3a1843d3a446b92bf98adce (diff) | |
download | abslibre-152f73fe6e06c0d49505c046786ead7c5afb7cbc.tar.gz abslibre-152f73fe6e06c0d49505c046786ead7c5afb7cbc.tar.bz2 abslibre-152f73fe6e06c0d49505c046786ead7c5afb7cbc.zip |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
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() { |