From: xf0r3m Date: Sat, 2 Dec 2023 10:34:28 +0000 (+0100) Subject: BT #142 - ToDo: Dodać 'oldstable' do funkcji 'library.sh/get_debian_branch' X-Git-Url: https://gitweb.morketsmerke.org/?a=commitdiff_plain;h=4895fc4296d0504a1a082ca7d86a8c7e2cceb5f3;p=immudex.git BT #142 - ToDo: Dodać 'oldstable' do funkcji 'library.sh/get_debian_branch' --- 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 }