From 4895fc4296d0504a1a082ca7d86a8c7e2cceb5f3 Mon Sep 17 00:00:00 2001 From: xf0r3m Date: Sat, 2 Dec 2023 11:34:28 +0100 Subject: [PATCH] =?utf8?q?BT=20#142=20-=20ToDo:=20Doda=C4=87=20'oldstable'?= =?utf8?q?=20do=20funkcji=20'library.sh/get=5Fdebian=5Fbranch'?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- tools/library.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/library.sh b/tools/library.sh index b06fb76..1b3721a 100755 --- a/tools/library.sh +++ b/tools/library.sh @@ -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 } -- 2.39.5