summaryrefslogtreecommitdiffstats
path: root/debian/progress-linux.config
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2019-07-17 19:16:15 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2019-07-17 19:19:45 +0000
commit290a269c91d4bb121914202824c0c743066aa2ea (patch)
treed97f5238fb49e4bd1afbe789fdd728f8bea8bd3a /debian/progress-linux.config
parentAdding support for Progress Linux 6 (fuchur). (diff)
downloadprogress-linux-290a269c91d4bb121914202824c0c743066aa2ea.tar.xz
progress-linux-290a269c91d4bb121914202824c0c743066aa2ea.zip
Handling /etc/debian_version on Progress Linux backports distributions.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/progress-linux.config')
-rwxr-xr-xdebian/progress-linux.config18
1 files changed, 14 insertions, 4 deletions
diff --git a/debian/progress-linux.config b/debian/progress-linux.config
index adac5b6..3d74491 100755
--- a/debian/progress-linux.config
+++ b/debian/progress-linux.config
@@ -27,9 +27,10 @@ Run_debconf ()
fi
}
-DISTRIBUTION="$(cat /etc/debian_version)"
+DEBIAN_VERSION="$(cat /etc/debian_version)"
+PROGRESS_LINUX_VERSION="$(if [ -e /etc/progress-linux_version ]; then cat /etc/progress-linux_version; fi)"
-case "${DISTRIBUTION}" in
+case "${DEBIAN_VERSION}" in
10.*|buster/sid)
RELEASE="5"
CODENAME="engywuck"
@@ -38,8 +39,17 @@ case "${DISTRIBUTION}" in
;;
11.*|bullseye/sid)
- RELEASE="6"
- CODENAME="fuchur"
+ case "${PROGRESS_LINUX_VERSION}" in
+ 5*)
+ RELEASE="5"
+ CODENAME="engywuck"
+ ;;
+
+ *)
+ RELEASE="6"
+ CODENAME="fuchur"
+ ;;
+ esac
Run_debconf
;;