From 93261c67e2fd40aa550bf4fce7388c018db78e53 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 10 Aug 2019 15:36:51 +0200 Subject: Symlinking archive key instead of copying it. Signed-off-by: Daniel Baumann --- debian/progress-linux.postinst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 () -- cgit v1.2.3