aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinstall.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/install.sh b/install.sh
index 2b6caf7..729e6d8 100755
--- a/install.sh
+++ b/install.sh
@@ -42,7 +42,7 @@ if [ ! -e installed ]; then
pacstrap /mnt base || exit 1
genfstab -U /mnt >> /mnt/etc/fstab
- sed "s|%%UUID%%|$(blkid ${PART}2)|" src/etc/default/grub.orig > src/etc/default/grub
+ sed "s|%%UUID%%|$(blkid -o value -s UUID ${PART}2)|" src/etc/default/grub.orig > src/etc/default/grub
touch installed
else
cryptsetup open ${PART}2 cryptlvm