From: xf0r3m Date: Sat, 2 Dec 2023 10:58:05 +0000 (+0100) Subject: Sprostowanie. BT #142 - ToDo: Dodać 'oldstable' do narzędzia 'immudex-branch' X-Git-Url: https://gitweb.morketsmerke.org/?a=commitdiff_plain;h=3a72a093274262fd25eec832ea37b39d4e0881a9;p=immudex.git Sprostowanie. BT #142 - ToDo: Dodać 'oldstable' do narzędzia 'immudex-branch' --- 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 }