Bookworm new Debian Stable

Remove old Buster references and add new Debian Trixie infos.
This commit is contained in:
Jeremy Gardais 2023-06-20 14:41:55 +02:00
parent 490938422d
commit 85a5648314
Signed by: jegardai
GPG Key ID: E759BAA22501AF32
1 changed files with 9 additions and 5 deletions

View File

@ -13,6 +13,10 @@ readonly PURPLE='\033[1;35m'
readonly RED='\033[0;31m' readonly RED='\033[0;31m'
readonly RESET='\033[0m' readonly RESET='\033[0m'
readonly COLOR_DEBUG="${PURPLE}" readonly COLOR_DEBUG="${PURPLE}"
## Default vars
readonly RELEASE_LIST_DEFAULT="bookworm bullseye trixie"
# }}} # }}}
usage() { # {{{ usage() { # {{{
@ -29,8 +33,8 @@ EXAMPLES:
- Import .deb files from a specific directory - Import .deb files from a specific directory
${PROGNAME} --dir /var/backups/my.deb.files/ ${PROGNAME} --dir /var/backups/my.deb.files/
- Import .deb files to Stretch and Buster releases - Import .deb files to Bookworm and Bullseye releases
${PROGNAME} --release "stretch buster" ${PROGNAME} --release "bookworm bullseye"
OPTIONS: OPTIONS:
-d,--dir,--directory -d,--dir,--directory
@ -44,7 +48,7 @@ OPTIONS:
-r,--release -r,--release
Set the release(s) for which the packages should be added separated Set the release(s) for which the packages should be added separated
by whitespaces (default: "buster bullseye"). by whitespaces (default: "${RELEASE_LIST_DEFAULT}").
EOF EOF
@ -82,8 +86,8 @@ define_vars() { # {{{
### If release_list wasn't defined (argument,...) {{{ ### If release_list wasn't defined (argument,...) {{{
if [ -z "${release_list}" ]; then if [ -z "${release_list}" ]; then
## Use current stable (buster) and testing release (bullseye) as default value ## Use current stable (bookworm), oldstable (bullseye) and testing release (trixie) as default value
release_list="buster bullseye" release_list="${RELEASE_LIST_DEFAULT}"
fi fi
### }}} ### }}}