From b2881c1319b08ec9e2e80a913921e5bb3c2e7658 Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Mon, 22 Jul 2024 23:43:02 +0200 Subject: [PATCH] Added platform --- scripts/image/setup.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/image/setup.sh b/scripts/image/setup.sh index 150d0ef..8d80e9a 100644 --- a/scripts/image/setup.sh +++ b/scripts/image/setup.sh @@ -77,6 +77,8 @@ if mount | grep -q "$device_path" error "Device $device_path is allready mounted. Umount with \"umount $device_path*\"." fi +question "Which platform would you like to use [livestick, raspberrypi,...]?" && read -r platform || error + question "Which operation system would you like to use [linux,windows,...]?" && read -r operation_system || error case "$operation_system" in @@ -400,7 +402,7 @@ if [ "$transfer_image" = "y" ] info "Skipping image transfer..." fi -if [ "$distribution" != "manjaro" ] +if [ "$platform" == "raspberrypi" ] then info "Start regular mounting procedure..." if mount | grep -q "$boot_partition_path"