Skip to content

Commit

Permalink
removed older versions temporarily; these will be resumed with showin…
Browse files Browse the repository at this point in the history
…g a warning message dialog
  • Loading branch information
belphegor-belbel committed Apr 27, 2018
1 parent 66617f5 commit 4d36885
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions openSUSE_installer.nsi
Original file line number Diff line number Diff line change
Expand Up @@ -338,14 +338,14 @@ Function "ShowDistributionSelection"

; set currently supported versions
WriteIniStr ${DISTSELECT_INI} "Field 2" "ListItems" \
"$R1openSUSE Leap 15.0|openSUSE Leap 42.3|openSUSE Leap 42.2|openSUSE Leap 42.1|openSUSE 13.2|openSUSE 13.1|openSUSE 12.3|openSUSE 12.2|openSUSE 12.1|openSUSE 11.4|openSUSE Tumbleweed"
"$R1openSUSE Leap 15.0|openSUSE Tumbleweed|openSUSE Leap 42.3"
${Else}
; when x86_64 is not supported..

${If} $mediaVer == ""
${OrIf} $mediaI386 == "0"
; set latest stable version
WriteIniStr ${DISTSELECT_INI} "Field 2" "State" "openSUSE 13.2"
WriteIniStr ${DISTSELECT_INI} "Field 2" "State" "openSUSE Tumbleweed"
StrCpy $R1 ""
${Else}
; set the version of this media
Expand All @@ -356,7 +356,7 @@ Function "ShowDistributionSelection"

; set currently supported versions
WriteIniStr ${DISTSELECT_INI} "Field 2" "ListItems" \
"$R1openSUSE 13.2|openSUSE 13.1|openSUSE 12.3|openSUSE 12.2|openSUSE 12.1|openSUSE 11.4|openSUSE Tumbleweed"
"$R1openSUSE Tumbleweed"

; remove x86_64
WriteIniStr ${DISTSELECT_INI} "Field 4" "State" "i386"
Expand Down

0 comments on commit 4d36885

Please sign in to comment.