remove _GUIDPARAMETER=0

This commit is contained in:
Tobias Powalowski 2023-01-09 14:31:25 +01:00
parent 37baa0d974
commit d7d46243a9
2 changed files with 2 additions and 2 deletions

View file

@ -74,7 +74,7 @@ _geteditor() {
_set_uefi_parameters() { _set_uefi_parameters() {
_UEFI_BOOT="" _UEFI_BOOT=""
_UEFI_SECURE_BOOT="" _UEFI_SECURE_BOOT=""
_GUIDPARAMETER="0" _GUIDPARAMETER=""
[[ -e "/sys/firmware/efi" ]] && _UEFI_BOOT="1" [[ -e "/sys/firmware/efi" ]] && _UEFI_BOOT="1"
if [[ "${_UEFI_BOOT}" == "1" ]]; then if [[ "${_UEFI_BOOT}" == "1" ]]; then
_GUIDPARAMETER="1" _GUIDPARAMETER="1"

View file

@ -661,7 +661,7 @@ _createraid()
if [[ ${_RAID_PARTITION} == "1" ]]; then if [[ ${_RAID_PARTITION} == "1" ]]; then
# switch for mbr usage # switch for mbr usage
_set_guid _set_guid
if [[ "${_GUIDPARAMETER}" == "0" ]]; then if [[ -z "${_GUIDPARAMETER}" ]]; then
_dialog --msgbox "Now you'll be put into the cfdisk program where you can partition your raiddevice to your needs." 6 70 _dialog --msgbox "Now you'll be put into the cfdisk program where you can partition your raiddevice to your needs." 6 70
cfdisk "${_RAIDDEVICE}" cfdisk "${_RAIDDEVICE}"
else else