summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xdebian/progress-linux.postinst12
1 files changed, 8 insertions, 4 deletions
diff --git a/debian/progress-linux.postinst b/debian/progress-linux.postinst
index 12a15d3..a6e613b 100755
--- a/debian/progress-linux.postinst
+++ b/debian/progress-linux.postinst
@@ -20,8 +20,12 @@ cat > /etc/apt/preferences.d/progress-linux.pref << EOF
EOF
# apt key
- echo "Installing /etc/apt/trusted.gpg.d/progress-linux-5-engywuck-archive-key.gpg ..."
- ln -sf /usr/share/progress-linux/pgp-keys/progress-linux-5-engywuck-archive-key.gpg /etc/apt/trusted.gpg.d/progress-linux-5-engywuck-archive-key.gpg
+ echo "Installing /etc/apt/trusted.gpg.d/progress-linux.gpg ..."
+ rm -f /etc/apt/trusted.gpg.d/progress-linux.gpg
+ for KEY in /usr/share/progress-linux/pgp-keys/*archive-key.gpg
+ do
+ cat "${KEY}" >> /etc/apt/trusted.gpg.d/progress-linux.gpg
+ done
}
Remove ()
@@ -35,8 +39,8 @@ Remove ()
rm -f /etc/apt/preferences.d/progress-linux.pref
# apt key
- echo "Removing /etc/apt/trusted.gpg.d/progress-linux-5-engywuck-archive-key.gpg ..."
- rm -f /etc/apt/trusted.gpg.d/progress-linux-5-engywuck-archive-key.gpg
+ echo "Removing /etc/apt/trusted.gpg.d/progress-linux.gpg ..."
+ rm -f /etc/apt/trusted.gpg.d/progress-linux.gpg
}
Configure ()