Added platform

This commit is contained in:
Kevin Veen-Birkenbach 2024-07-22 23:43:02 +02:00
parent 3daed9447b
commit b2881c1319

View File

@ -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"