Commit 13625cbf authored by Ruben Rodriguez's avatar Ruben Rodriguez
Browse files

trisquel-keyring: Added new key and manage apt keys through trusted.gpg.d

parent 6be499c9
trisquel-keyring (2022.10.19) aramo; urgency=medium
* Added new key 4AD4C938
* Handle apt keys via trusted.gpg.d
-- Rubén Rodríguez <ruben@trisquel.info> Wed, 19 Oct 2022 14:30:23 -0400
trisquel-keyring (2018.02.19) flidas; urgency=medium
* Make sure new keys are always processed
......
#!/bin/sh
# make sure apt knows about the new keys
if [ -x /usr/bin/apt-key ]; then
/usr/bin/apt-key add /usr/share/keyrings/trisquel-archive-keyring.gpg
/usr/bin/apt-key update
fi
# the keyring in /var that gets fetched by apt-key net-update
# if it does not yet exist, copy it to avoid uneeded net copy
KEYRINGDIR="/var/lib/apt/keyrings"
KEYRING="${KEYRINGDIR}/trisquel-archive-keyring.gpg"
if ! test -d $KEYRINGDIR; then
mkdir -m 755 -p $KEYRINGDIR
fi
if ! test -f $KEYRING; then
cp /usr/share/keyrings/trisquel-archive-keyring.gpg $KEYRING
touch $KEYRING
fi
......@@ -27,11 +27,13 @@ binary-indep: checkroot
$(checkdir)
-rm -rf debian/tmp
$(install_dir) debian/tmp/DEBIAN/
$(install_script) debian/postinst debian/tmp/DEBIAN/
$(install_dir) debian/tmp/usr/share/keyrings/
$(install_file) keyrings/trisquel-archive-keyring.gpg debian/tmp/usr/share/keyrings/
$(install_dir) debian/tmp/etc/apt/trusted.gpg.d/
$(install_file) keyrings/trisquel-archive-keyring.gpg debian/tmp/etc/apt/trusted.gpg.d/
$(install_dir) debian/tmp/usr/share/doc/trisquel-keyring/
$(install_file) debian/changelog debian/tmp/usr/share/doc/trisquel-keyring/changelog
gzip -9v debian/tmp/usr/share/doc/trisquel-keyring/*
......
Supports Markdown
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