diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2019-11-12 05:30:36 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2019-11-12 06:37:45 +0000 |
commit | 0bf5691258bbbf9737928a553ce9bd3f3495c74b (patch) | |
tree | 71596af685d0326a707820b0f174e550a19058dc /debian/progress-linux.postinst | |
parent | Adding todo file. (diff) | |
download | progress-linux-0bf5691258bbbf9737928a553ce9bd3f3495c74b.tar.xz progress-linux-0bf5691258bbbf9737928a553ce9bd3f3495c74b.zip |
Adding preseedable mirrors.tmp-preseed
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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" |