diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2019-11-18 16:22:11 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2019-11-18 16:34:51 +0000 |
commit | 3e35416c761559b7b7daff38ad36858383922860 (patch) | |
tree | de54e59e3aea066b464c03a41bc0becfbce4f53e /debian/progress-linux.postinst | |
parent | Generalizing debconf handling. (diff) | |
download | progress-linux-3e35416c761559b7b7daff38ad36858383922860.tar.xz progress-linux-3e35416c761559b7b7daff38ad36858383922860.zip |
Adding mirror selection.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/progress-linux.postinst')
-rwxr-xr-x | debian/progress-linux.postinst | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/debian/progress-linux.postinst b/debian/progress-linux.postinst index 5bf957d..1943240 100755 --- a/debian/progress-linux.postinst +++ b/debian/progress-linux.postinst @@ -92,7 +92,7 @@ Configure_apt_sources_stanza () cat >> "/etc/apt/sources.list.d/${PROJECT}.sources" << EOF Types: deb -URIs: ${PACKAGES} +URIs: ${MIRROR} Suites: ${SUITES} Components: ${COMPONENTS} PDiffs: no @@ -187,6 +187,9 @@ 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 + MIRROR="$(echo ${RET:-${PACKAGES}})" # string w/o empty + db_stop BACKPORTS_PRIORITY="100" |