summaryrefslogtreecommitdiffstats
path: root/install.sh
diff options
context:
space:
mode:
authorfatalhalt <kylek389@gmail.com>2020-05-11 20:44:05 -0500
committerGitHub <noreply@github.com>2020-05-11 20:44:05 -0500
commit88de468e5e7a8f021086064fe89a9f2f28250bdd (patch)
tree0fb6cd5e0ea4e0be23e97a2077cff0eb5bf91f11 /install.sh
parent71b59d279a49de39da0bee41019e2662c90dba32 (diff)
parent1da62330b78d462b885e16d038b8439bd2144fae (diff)
downloadgentoox-88de468e5e7a8f021086064fe89a9f2f28250bdd.tar.gz
gentoox-88de468e5e7a8f021086064fe89a9f2f28250bdd.tar.bz2
gentoox-88de468e5e7a8f021086064fe89a9f2f28250bdd.zip
Merge pull request #1 from lotharsm/fix-grub-setup
Fix checking for UEFI_MODE during GRUB setup
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/install.sh b/install.sh
index f22f4ab..e005e07 100755
--- a/install.sh
+++ b/install.sh
@@ -157,7 +157,7 @@ unsquashfs -f -d /mnt/install/ /mnt/cdrom/image.squashfs
echo -e "extraction complete.\n"
read -erp "set hostname: " -i "gentoox" hostname
-read -erp "set domain name " -i "haxx.dafuq" domainname
+read -erp "set domain name: " -i "haxx.dafuq" domainname
read -erp "set username: " -i "gentoox" username
read -erp "set user password: " -i "gentoox" userpassword
read -erp "set root password: " -i "gentoox" rootpassword
@@ -192,7 +192,7 @@ if [[ $username != "gentoox" ]]; then
fi
yes $userpassword | passwd $username
-if [[ ! -z $UEFI_MODE ]]; then
+if [[ ! -z "$UEFI_MODE" ]]; then
grub-install --target=x86_64-efi
else
grub-install --target=i386-pc $drive