mirror of
https://github.com/kevinveenbirkenbach/linux-image-manager.git
synced 2024-11-21 22:51:05 +01:00
Added platform
This commit is contained in:
parent
3daed9447b
commit
b2881c1319
@ -77,6 +77,8 @@ if mount | grep -q "$device_path"
|
|||||||
error "Device $device_path is allready mounted. Umount with \"umount $device_path*\"."
|
error "Device $device_path is allready mounted. Umount with \"umount $device_path*\"."
|
||||||
fi
|
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
|
question "Which operation system would you like to use [linux,windows,...]?" && read -r operation_system || error
|
||||||
|
|
||||||
case "$operation_system" in
|
case "$operation_system" in
|
||||||
@ -400,7 +402,7 @@ if [ "$transfer_image" = "y" ]
|
|||||||
info "Skipping image transfer..."
|
info "Skipping image transfer..."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$distribution" != "manjaro" ]
|
if [ "$platform" == "raspberrypi" ]
|
||||||
then
|
then
|
||||||
info "Start regular mounting procedure..."
|
info "Start regular mounting procedure..."
|
||||||
if mount | grep -q "$boot_partition_path"
|
if mount | grep -q "$boot_partition_path"
|
||||||
|
Loading…
Reference in New Issue
Block a user