OSDN Git Service

fix default advanced kernel
authorpaperbenni <paperbenni@gmail.com>
Mon, 6 Jul 2020 18:23:20 +0000 (20:23 +0200)
committerpaperbenni <paperbenni@gmail.com>
Mon, 6 Jul 2020 18:23:20 +0000 (20:23 +0200)
pacstrap/pacstrap.sh

index 2a57755..224f2ff 100755 (executable)
@@ -12,7 +12,7 @@ pacman -Sy --noconfirm
 # kernel selection
 if iroot kernel; then
     KERNEL="$(iroot kernel)"
-    if [ "$KERNEL" -eq "default" ]; then
+    if [ "$KERNEL" = "default" ]; then
         KERNEL="linux-lts"
     fi
 else