]> git.michaelhowe.org Git - packages/m/mh-archive-keyring.git/commitdiff
Try twiddling names
authorMichael Howe <michael@michaelhowe.org>
Sat, 16 Mar 2013 15:43:37 +0000 (15:43 +0000)
committerMichael Howe <michael@michaelhowe.org>
Sat, 16 Mar 2013 15:43:37 +0000 (15:43 +0000)
debian/install [new file with mode: 0644]
debian/mh-archive-keyring.install [deleted file]
debian/mh-archive-keyring.postinst [deleted file]
debian/mh-archive-keyring.postrm [deleted file]
debian/postinst [new file with mode: 0644]
debian/postrm [new file with mode: 0644]

diff --git a/debian/install b/debian/install
new file mode 100644 (file)
index 0000000..24a1b06
--- /dev/null
@@ -0,0 +1,2 @@
+usr/share/keyrings/*
+etc/apt/trusted.gpg.d/*
diff --git a/debian/mh-archive-keyring.install b/debian/mh-archive-keyring.install
deleted file mode 100644 (file)
index 24a1b06..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-usr/share/keyrings/*
-etc/apt/trusted.gpg.d/*
diff --git a/debian/mh-archive-keyring.postinst b/debian/mh-archive-keyring.postinst
deleted file mode 100644 (file)
index 3563259..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/sh
-
-set -e
-
-if [ "$1" = 'configure' -a -n "$2" ]; then
-       # remove keys from the trusted.gpg file as they are now shipped in fragment files in trusted.gpg.d
-       if dpkg --compare-versions "$2" 'lt' "2012.1" && which gpg > /dev/null && which apt-key > /dev/null; then
-               TRUSTEDFILE='/etc/apt/trusted.gpg'
-               eval $(apt-config shell TRUSTEDFILE Apt::GPGV::TrustedKeyring)
-               eval $(apt-config shell TRUSTEDFILE Dir::Etc::Trusted/f)
-               if [ -e "$TRUSTEDFILE" ]; then
-                       for KEY in F42584E6 55BE302B 6D849617 B98321F9 473041FA 46925553 65FFB764; do
-                               apt-key --keyring "$TRUSTEDFILE" del $KEY > /dev/null 2>&1 || :
-                       done
-               fi
-       fi
-fi
-
-#DEBHELPER#
diff --git a/debian/mh-archive-keyring.postrm b/debian/mh-archive-keyring.postrm
deleted file mode 100644 (file)
index 62eabe5..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-
-set -e
-
-if [ "$1" = "purge" ]
-then
-  # Remove the symlink
-  rm -f /etc/apt/trusted.gpg.d/mh-archive-keyring.gpg
-fi
-
-#DEBHELPER#
-
diff --git a/debian/postinst b/debian/postinst
new file mode 100644 (file)
index 0000000..3563259
--- /dev/null
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+set -e
+
+if [ "$1" = 'configure' -a -n "$2" ]; then
+       # remove keys from the trusted.gpg file as they are now shipped in fragment files in trusted.gpg.d
+       if dpkg --compare-versions "$2" 'lt' "2012.1" && which gpg > /dev/null && which apt-key > /dev/null; then
+               TRUSTEDFILE='/etc/apt/trusted.gpg'
+               eval $(apt-config shell TRUSTEDFILE Apt::GPGV::TrustedKeyring)
+               eval $(apt-config shell TRUSTEDFILE Dir::Etc::Trusted/f)
+               if [ -e "$TRUSTEDFILE" ]; then
+                       for KEY in F42584E6 55BE302B 6D849617 B98321F9 473041FA 46925553 65FFB764; do
+                               apt-key --keyring "$TRUSTEDFILE" del $KEY > /dev/null 2>&1 || :
+                       done
+               fi
+       fi
+fi
+
+#DEBHELPER#
diff --git a/debian/postrm b/debian/postrm
new file mode 100644 (file)
index 0000000..62eabe5
--- /dev/null
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+set -e
+
+if [ "$1" = "purge" ]
+then
+  # Remove the symlink
+  rm -f /etc/apt/trusted.gpg.d/mh-archive-keyring.gpg
+fi
+
+#DEBHELPER#
+