diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 11:13:00 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 11:15:52 +0000 |
commit | 73058265734e192b263343fb6c7b13f8bdf401b6 (patch) | |
tree | 50c5b98a8d1f1051106573afaabfd7ca17a935d0 | |
parent | Using dot after major version in progress-linux version handling for consiste... (diff) | |
download | progress-linux-73058265734e192b263343fb6c7b13f8bdf401b6.tar.xz progress-linux-73058265734e192b263343fb6c7b13f8bdf401b6.zip |
Adding legacy handling for non-free/non-free-firmware archive areas so that the same package can be used on all support releases.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rwxr-xr-x | debian/progress-linux.config | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/debian/progress-linux.config b/debian/progress-linux.config index fa0b021..991cfd5 100755 --- a/debian/progress-linux.config +++ b/debian/progress-linux.config @@ -9,10 +9,21 @@ PROJECT="progress-linux" Run_debconf () { + # non-free archive areas + case "${RELEASE}" in + 5|6) + NON_FREE="non-free" + ;; + + *) + NON_FREE="non-free, non-free-firmware" + ;; + esac + # debconf templates db_subst ${PROJECT}/archives CHOICES "${NAME} ${RELEASE} (${CODENAME}), ${NAME} ${RELEASE} (${CODENAME}-security), ${NAME} ${RELEASE} (${CODENAME}-updates), ${NAME} ${RELEASE} (${CODENAME}-extras), ${NAME} ${RELEASE} (${CODENAME}-test), ${NAME} ${RELEASE}.99 (${CODENAME}-backports), ${NAME} ${RELEASE}.99 (${CODENAME}-backports-extras), ${NAME} ${RELEASE}.99 (${CODENAME}-backports-test)" db_subst ${PROJECT}/archives CHOICES_C "${CODENAME}, ${CODENAME}-security, ${CODENAME}-updates, ${CODENAME}-extras, ${CODENAME}-test, ${CODENAME}-backports, ${CODENAME}-backports-extras, ${CODENAME}-backports-test" - db_subst ${PROJECT}/archive-areas CHOICES "main, contrib, non-free, non-free-firmware, restricted" + db_subst ${PROJECT}/archive-areas CHOICES "main, contrib, ${NON_FREE}, restricted" # apt archives db_settitle ${PROJECT}/title |