summaryrefslogtreecommitdiffstats
path: root/debian/progress-linux.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/progress-linux.postinst')
-rwxr-xr-xdebian/progress-linux.postinst16
1 files changed, 1 insertions, 15 deletions
diff --git a/debian/progress-linux.postinst b/debian/progress-linux.postinst
index ba72cc8..4750342 100755
--- a/debian/progress-linux.postinst
+++ b/debian/progress-linux.postinst
@@ -31,17 +31,6 @@ Remove_apt_preferences ()
rm -f "/etc/apt/preferences.d/${PROJECT}.pref"
}
-Install_apt_keys ()
-{
- 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 ()
-{
- rm -f "/etc/apt/trusted.gpg.d/${PROJECT}.gpg"
-}
-
Configure_apt_sources ()
{
ARCHIVE="${1}"
@@ -57,7 +46,7 @@ Configure_apt_sources ()
esac
cat >> "/etc/apt/sources.list.d/${PROJECT}.list" << EOF
-deb ${PACKAGES} ${ARCHIVE} ${AREAS}
+deb [signed-by=/usr/share/progress-linux/pgp-keys/apt.progress-linux.org.gpg] ${PACKAGES} ${ARCHIVE} ${AREAS}
EOF
}
@@ -147,7 +136,6 @@ case "${1}" in
Remove_apt_sources
Remove_apt_preferences
- Remove_apt_keys
Remove_ssh_known_hosts
@@ -160,7 +148,6 @@ case "${1}" in
then
Install_apt_sources
Install_apt_preferences
- Install_apt_keys
for ARCHIVE in ${ARCHIVES}
do
@@ -170,7 +157,6 @@ case "${1}" in
else
Remove_apt_sources
Remove_apt_preferences
- Remove_apt_keys
fi
# openssh-server