[debian-edu-commits] debian-edu/ 07/20: * Rewrite postinst to use 'apt-key add' instead of apt-key update', as the latter only uses the Debian keyring and not the Debian Edu keyring.

Holger Levsen holger at moszumanska.debian.org
Sat Feb 8 15:31:40 UTC 2014


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository debian-edu-archive-keyring.

commit 0d552d2b8ce9246ff8008e9d788831ebcc1cd56c
Author: Petter Reinholdtsen <pere at hungry.com>
Date:   Sun Sep 24 14:10:44 2006 +0000

      * Rewrite postinst to use 'apt-key add' instead of apt-key update', as the
        latter only uses the Debian keyring and not the Debian Edu keyring.
---
 debian/changelog | 7 +++++++
 debian/postinst  | 4 +++-
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index a9ffbaa..813a35f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+debian-edu-archive-keyring (2006.09.17) unstable; urgency=low
+
+  * Rewrite postinst to use 'apt-key add' instead of apt-key update', as the
+    latter only uses the Debian keyring and not the Debian Edu keyring.
+
+ -- Petter Reinholdtsen <pere at debian.org>  Sun, 24 Sep 2006 16:09:45 +0200
+
 debian-edu-archive-keyring (2006.09.16) unstable; urgency=low
 
   [ Holger Levsen ]
diff --git a/debian/postinst b/debian/postinst
index 9d98db4..e3c3084 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -1,5 +1,7 @@
 #!/bin/sh
 
 if [ -x /usr/bin/apt-key ]; then
-    /usr/bin/apt-key update
+    # update only uses /usr/share/keyrings/debian-archive-*.gpg
+    #/usr/bin/apt-key update
+    /usr/bin/apt-key add /usr/share/keyrings/debian-edu-archive-keyring.gpg
 fi

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/pkg-team/debian-edu-archive-keyring.git



More information about the debian-edu-commits mailing list