From 3a72a093274262fd25eec832ea37b39d4e0881a9 Mon Sep 17 00:00:00 2001 From: xf0r3m Date: Sat, 2 Dec 2023 11:58:05 +0100 Subject: [PATCH] =?utf8?q?Sprostowanie.=20BT=20#142=20-=20ToDo:=20Doda?= =?utf8?q?=C4=87=20'oldstable'=20do=20narz=C4=99dzia=20'immudex-branch'?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- tools/immudex-branch | 4 +++- tools/library.sh | 4 +--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/immudex-branch b/tools/immudex-branch index c2eaea7..a933ef8 100755 --- a/tools/immudex-branch +++ b/tools/immudex-branch @@ -2,6 +2,8 @@ if grep -q 'trixie' /etc/os-release; then echo -n '-testing'; -else +elif grep -q 'bookworm' /etc/os-release; then echo -n '-stable'; +else + echo -n '-oldstable'; fi diff --git a/tools/library.sh b/tools/library.sh index 1b3721a..b06fb76 100755 --- a/tools/library.sh +++ b/tools/library.sh @@ -3,10 +3,8 @@ function get_debian_branch() { if grep -q 'trixie' /etc/os-release; then echo "testing"; - elif grep -q 'bookworm' /etc/os-release; then - echo "stable"; else - echo "oldstable"; + echo "stable"; fi } -- 2.39.5