From 9e99328143659f9757742c10f091cf87ef86d773 Mon Sep 17 00:00:00 2001 From: akanealw Date: Thu, 9 Oct 2025 21:59:02 +0000 Subject: [PATCH] added testing script for checking debian version --- debian/version-check-testing.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 debian/version-check-testing.sh diff --git a/debian/version-check-testing.sh b/debian/version-check-testing.sh new file mode 100644 index 0000000..ee97cdf --- /dev/null +++ b/debian/version-check-testing.sh @@ -0,0 +1,16 @@ +#!/bin/bash + +read -d . VERSION < /etc/debian_version + +if [ $VERSION -eq 11 ]; + then + echo "Bullseye" +elif [ $VERSION -eq 12 ]; + then + echo "Bookworm" +elif [ $VERSION -eq 13 ]; + then + echo "Trixie" +else + echo "unknown version" +fi