summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2019-11-18 16:15:32 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2019-11-18 16:34:51 +0000
commit4346c919615493e027e18b9faa9cf3e995d0e1e4 (patch)
treef2fbc38172c68773bc0e61f9f62e903301ab6ee2
parentSwitching to deb822 format for apt sources lists. (diff)
downloadprogress-linux-4346c919615493e027e18b9faa9cf3e995d0e1e4.tar.xz
progress-linux-4346c919615493e027e18b9faa9cf3e995d0e1e4.zip
Generalizing debconf handling.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rwxr-xr-xdebian/progress-linux.config3
1 files changed, 2 insertions, 1 deletions
diff --git a/debian/progress-linux.config b/debian/progress-linux.config
index 3d74491..e95dd96 100755
--- a/debian/progress-linux.config
+++ b/debian/progress-linux.config
@@ -2,6 +2,7 @@
set -e
+NAME="Progress Linux"
PROJECT="progress-linux"
. /usr/share/debconf/confmodule
@@ -9,7 +10,7 @@ PROJECT="progress-linux"
Run_debconf ()
{
# debconf templates
- db_subst ${PROJECT}/archives CHOICES "Progress Linux ${RELEASE} (${CODENAME}), Progress Linux ${RELEASE} (${CODENAME}-security), Progress Linux ${RELEASE} (${CODENAME}-updates), Progress Linux ${RELEASE} (${CODENAME}-extras), Progress Linux ${RELEASE}+ (${CODENAME}-backports), Progress Linux ${RELEASE}+ (${CODENAME}-backports-extras)"
+ db_subst ${PROJECT}/archives CHOICES "${NAME} ${RELEASE} (${CODENAME}), ${NAME} ${RELEASE} (${CODENAME}-security), ${NAME} ${RELEASE} (${CODENAME}-updates), ${NAME} ${RELEASE} (${CODENAME}-extras), ${NAME} ${RELEASE}+ (${CODENAME}-backports), ${NAME} ${RELEASE}+ (${CODENAME}-backports-extras)"
db_subst ${PROJECT}/archives CHOICES_C "${CODENAME}, ${CODENAME}-security, ${CODENAME}-updates, ${CODENAME}-extras, ${CODENAME}-backports, ${CODENAME}-backports-extras"
db_subst ${PROJECT}/archive-areas CHOICES "main, contrib, non-free, restricted"