summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2019-08-10 13:36:51 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2019-08-10 13:36:51 +0000
commit93261c67e2fd40aa550bf4fce7388c018db78e53 (patch)
tree99b6962c3b91798d12aac868306c1bf18605b821
parentReleasing debian version 20190101-5. (diff)
downloadprogress-linux-93261c67e2fd40aa550bf4fce7388c018db78e53.tar.xz
progress-linux-93261c67e2fd40aa550bf4fce7388c018db78e53.zip
Symlinking archive key instead of copying it.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rwxr-xr-xdebian/progress-linux.postinst3
1 files changed, 2 insertions, 1 deletions
diff --git a/debian/progress-linux.postinst b/debian/progress-linux.postinst
index f787a60..ba72cc8 100755
--- a/debian/progress-linux.postinst
+++ b/debian/progress-linux.postinst
@@ -33,7 +33,8 @@ Remove_apt_preferences ()
Install_apt_keys ()
{
- cp -f "/usr/share/${PROJECT}/pgp-keys/apt.${DOMAIN}.gpg" "/etc/apt/trusted.gpg.d/${PROJECT}.gpg"
+ rm -f "/etc/apt/trusted.gpg.d/${PROJECT}.gpg"
+ ln -s "/usr/share/${PROJECT}/pgp-keys/apt.${DOMAIN}.gpg" "/etc/apt/trusted.gpg.d/${PROJECT}.gpg"
}
Remove_apt_keys ()