Commit 4f530388 authored by Philip Müller's avatar Philip Müller
Browse files

[pkg-upd] 20210612-1

- see also: tools/development-tools/manjaro-tools#330
parent b3a42627
......@@ -2,7 +2,7 @@
# Maintainer : Bernhard Landauer <oberon@manjaro.org>
pkgname=manjaro-system
pkgver=20210523
pkgver=20210612
pkgrel=1
pkgdesc="Manjaro Linux System - Update script"
arch=('any')
......
......@@ -57,6 +57,17 @@ install_free()
}
post_upgrade() {
# init gnupg keyring from scratch
# before 21.0.6 release all ISOs provided a common private gnupg keys for pacman.
# we need to have unique on each installation, hence we recreate them from scratch.
if [[ "$(vercmp $2 20210612)" -lt 0 ]]; then
msg "Security fix: recreating gnupg keys for pacman"
printf " All systems before 21.0.6 release shipped common private keys for pacman!\n This might take a while to complete ..."
/usr/bin/rm -rf /etc/pacman.d/gnupg
/usr/bin/pacman-key --init
/usr/bin/pacman-key --populate archlinux manjaro
fi
# enabling os-prober by default
input="/etc/default/grub"
checked=false
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment