Skip to content

Commit

Permalink
https://github.com/MichaIng/DietPi/pull/2771#issuecomment-489606736
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Knight committed May 6, 2019
1 parent c3baf8d commit ba10c16
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion PREP_SYSTEM_FOR_DIETPI.sh
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,8 @@

)

grep -qi 'jessie' /etc/os-release && aWHIP_BRANCH+=( 'jessie-support' 'EOS') #REMOVE v6.24

if GITBRANCH=$(whiptail --title "$G_PROGRAM_NAME" --menu 'Please select the Git branch the installer should use:' --default-item 'master' --ok-button 'Ok' --cancel-button 'Exit' --backtitle "$G_PROGRAM_NAME" 12 80 3 "${aWHIP_BRANCH[@]}" 3>&1 1>&2 2>&3); then

unset aWHIP_BRANCH
Expand Down Expand Up @@ -512,6 +514,7 @@
# Distro Selection
DISTRO_LIST_ARRAY=(

'3' ': jessie-support' #REMOVE v6.24
'4' ': Stretch (current stable release, recommended)'
'5' ': Buster (testing only, not officially supported)'

Expand Down Expand Up @@ -577,7 +580,11 @@

done

if (( $DISTRO_TARGET == 4 )); then
if (( $DISTRO_TARGET == 3 )); then #REMOVE v6.24

DISTRO_TARGET_NAME='jessie'

elif (( $DISTRO_TARGET == 4 )); then

DISTRO_TARGET_NAME='stretch'

Expand Down

0 comments on commit ba10c16

Please sign in to comment.