Browse Source

Fix broken condition

master
John 2 years ago
parent
commit
1c375d31d6
No account linked to committer's email address
1 changed files with 12 additions and 8 deletions
  1. 12
    8
      install.sh

+ 12
- 8
install.sh View File

@@ -232,18 +232,22 @@ MINIMAL() {

echo "gein: Configuring Linux kernel..."
cd /usr/src/linux
if [ "$AutoKernel" = "true" ] && [ -z $KernelConfig ]; then
make defconfig
if [ "$AutoKernel" = "true" ]; then
if [ -z $KernelConfig ]; then
make defconfig
else
wget -q $KernelConfig -O /usr/src/linux/.config
fi
elif [ "$AutoKernel" = "false" ]; then
if [ ! -z $KernelConfig ]; then
wget -q $KernelConfig -O /usr/src/linux/.config
if [ -z $KernelConfig ]; then
make defconfig
make menuconfig
else
make defconfig
wget -q $KernelConfig -O /usr/src/linux/.config
make menuconfig
fi
make menuconfig
else
echo "gein: $AutoKernel value is invalid. Exiting..."
exit
echo "gein: Error: AutoKernel isn't true or false. Exiting..."
fi

echo "gein: Compiling Linux kernel, modules, and initramfs..."

Loading…
Cancel
Save