From f1b088b5a69dc7ca00d9f80d17bba1e092691655 Mon Sep 17 00:00:00 2001 From: june-fish Date: Tue, 13 Aug 2024 17:13:23 -0700 Subject: [PATCH] fix submarine install script --- katsu/modules/ports/chromebook/submarine.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/katsu/modules/ports/chromebook/submarine.sh b/katsu/modules/ports/chromebook/submarine.sh index da1ddd67..cc546f75 100644 --- a/katsu/modules/ports/chromebook/submarine.sh +++ b/katsu/modules/ports/chromebook/submarine.sh @@ -2,7 +2,7 @@ set -x # Find bootloader partition and umount -blpart="$(findmnt -n -o SOURCE /mnt)" +blpart="$(findmnt -n -o SOURCE /submarine)" rootdev="$(basename `readlink -f "/sys/class/block/$(basename $blpart)/.."`)" partnum="$(echo $(basename $blpart) | sed 's/'"$rootdev"'//;s/p//')" umount $blpart