]> gitweb.morketsmerke.org Git - immudex.git/commitdiff
BT #142 - ToDo: Dodać 'oldstable' do funkcji 'library.sh/get_debian_branch'
authorxf0r3m <jakubstasinski@protonmail.com>
Sat, 2 Dec 2023 10:34:28 +0000 (11:34 +0100)
committerxf0r3m <jakubstasinski@protonmail.com>
Sat, 2 Dec 2023 10:34:28 +0000 (11:34 +0100)
tools/library.sh

index b06fb76d88f11bd0f222ff486d35fd18fca893f9..1b3721a3343523b79af3957b33463a77c65875bd 100755 (executable)
@@ -3,8 +3,10 @@
 function get_debian_branch() {
   if grep -q 'trixie' /etc/os-release; then
     echo "testing";
-  else
+  elif grep -q 'bookworm' /etc/os-release; then
     echo "stable";
+  else
+    echo "oldstable";
   fi
 }