mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-09 00:17:31 +00:00
core/pacman removing pacman-key init as to not confuse anyone else.
This commit is contained in:
parent
79bc58af9c
commit
0714352d7b
1 changed files with 1 additions and 11 deletions
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
#!/bin/sh
|
||||
# arg 1: the new package version
|
||||
# arg 2: the old package version
|
||||
post_upgrade() {
|
||||
|
@ -12,16 +12,6 @@ post_upgrade() {
|
|||
_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() {
|
||||
echo ">>> The pacman database format has changed as of pacman 3.5.0."
|
||||
echo ">>> You will need to run \`pacman-db-upgrade\` as root."
|
||||
|
|
Loading…
Reference in a new issue