diff options
Diffstat (limited to 'debian/progress-linux.postinst')
-rwxr-xr-x | debian/progress-linux.postinst | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/debian/progress-linux.postinst b/debian/progress-linux.postinst index 8dc75c6..a87c66a 100755 --- a/debian/progress-linux.postinst +++ b/debian/progress-linux.postinst @@ -4,7 +4,6 @@ set -e PROJECT="progress-linux" DOMAIN="progress-linux.org" -PACKAGES="https://cdn.deb.progress-linux.org/packages" Install_apt_sources () { @@ -46,7 +45,7 @@ Configure_apt_sources () esac cat >> "/etc/apt/sources.list.d/${PROJECT}.list" << EOF -deb [signed-by=/usr/share/progress-linux/pgp-keys/apt.progress-linux.org.gpg] ${PACKAGES} ${ARCHIVE} ${AREAS} +deb [signed-by=/usr/share/progress-linux/pgp-keys/apt.progress-linux.org.gpg] ${MIRROR_PROGRESS_LINUX} ${ARCHIVE} ${AREAS} EOF } @@ -133,6 +132,15 @@ case "${1}" in db_get ${PROJECT}/archive-areas ARCHIVE_AREAS="$(echo ${RET:-main} | sed -e 's|, | |g')" # string w/o empty + db_get ${PROJECT}/mirror-progress-linux # string w/o empty + MIRROR_PROGRESS_LINUX="${RET:-https://cdn.deb.progress-linux.org/packages}" + + db_get ${PROJECT}/mirror-debian # string w/o empty + MIRROR_DEBIAN="${RET:-https://deb.debian.org/debian}" + + db_get ${PROJECT}/mirror-debian-security # string w/o empty + MIRROR_DEBIAN_SECURITY="${RET:-http://security.debian.org}" + db_stop BACKPORTS_PRIORITY="100" |