Skip to content

Commit

Permalink
prompt_for_release: RELEASE is already defaulted
Browse files Browse the repository at this point in the history
  • Loading branch information
zeha committed Oct 25, 2024
1 parent cdd9896 commit 18c3508
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions grml-debootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -820,8 +820,8 @@ prompt_for_bootmanager()
# ask for Debian release {{{
prompt_for_release()
{
[ -n "$RELEASE" ] && DEFAULT_RELEASE="$RELEASE" || DEFAULT_RELEASE='bullseye'
RELEASE="$(dialog --stdout --title "${PN}" --default-item "$DEFAULT_RELEASE" --menu \
local default_value="$RELEASE"
RELEASE="$(dialog --stdout --title "${PN}" --default-item "$default_value" --menu \
"Please enter the Debian release you would like to use for installation:" \
0 50 8 \
buster Debian/10 \
Expand Down

0 comments on commit 18c3508

Please sign in to comment.