mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 12:00:37 +02:00
first try to fix check_gpt and values
This commit is contained in:
parent
964a5e2847
commit
e46aa49b5b
1 changed files with 1 additions and 3 deletions
|
@ -1904,7 +1904,7 @@ autoprepare() {
|
||||||
}
|
}
|
||||||
|
|
||||||
check_gpt() {
|
check_gpt() {
|
||||||
|
GUID_DETECTED=""
|
||||||
[[ "$(parted -s ${DISC} print | grep 'Partition Table: gpt')" ]] && GUID_DETECTED=1
|
[[ "$(parted -s ${DISC} print | grep 'Partition Table: gpt')" ]] && GUID_DETECTED=1
|
||||||
|
|
||||||
if [[ "${GUID_DETECTED}" = "" ]] ; then
|
if [[ "${GUID_DETECTED}" = "" ]] ; then
|
||||||
|
@ -1961,9 +1961,7 @@ partition() {
|
||||||
fi
|
fi
|
||||||
# Leave our loop if the user is done partitioning
|
# Leave our loop if the user is done partitioning
|
||||||
[[ "${DISC}" = "DONE" ]] && break
|
[[ "${DISC}" = "DONE" ]] && break
|
||||||
GUID_DETECTED=""
|
|
||||||
MSDOS_DETECTED=""
|
MSDOS_DETECTED=""
|
||||||
BIOS_GRUB=""
|
|
||||||
CHECK_BIOS_BOOT_GRUB2=""
|
CHECK_BIOS_BOOT_GRUB2=""
|
||||||
if ! [[ "${DISC}" = "" ]]; then
|
if ! [[ "${DISC}" = "" ]]; then
|
||||||
if [[ "${GUIDPARAMETER}" = "yes" ]]; then
|
if [[ "${GUIDPARAMETER}" = "yes" ]]; then
|
||||||
|
|
Loading…
Reference in a new issue