summaryrefslogtreecommitdiffstats
path: root/debian/progress-linux.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/progress-linux.postinst')
-rwxr-xr-xdebian/progress-linux.postinst5
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"