added testing script for checking debian version

This commit is contained in:
2025-10-09 21:59:02 +00:00
parent 536298dd70
commit 9e99328143

16
debian/version-check-testing.sh vendored Normal file
View File

@@ -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