Core Update 167: Add new Pakfire key after extracting the files

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
This commit is contained in:
Peter Müller
2022-03-31 09:20:50 +00:00
parent 65c6336aa3
commit 1091a629ea

View File

@@ -308,9 +308,6 @@ rm -rvf \
# Delete old 2007 Pakfire key from GPG keyring
GNUPGHOME="/opt/pakfire/etc/.gnupg" gpg --batch --yes --delete-keys 179740DC4D8C47DC63C099C74BDE364C64D96617
# Add new 2022 Pakfire key to GPG keyring
GNUPGHOME="/opt/pakfire/etc/.gnupg" gpg --import /opt/pakfire/pakfire-2022.key
# Stop services
/etc/init.d/ipsec stop
@@ -320,6 +317,9 @@ extract_files
# update linker config
ldconfig
# Add new 2022 Pakfire key to GPG keyring
GNUPGHOME="/opt/pakfire/etc/.gnupg" gpg --import /opt/pakfire/pakfire-2022.key
# Update Language cache
/usr/local/bin/update-lang-cache