mirror of
https://github.com/kevinveenbirkenbach/linux-image-manager.git
synced 2024-11-25 08:31:02 +01:00
Removed redundant code
This commit is contained in:
parent
f711d7894f
commit
8595021ffa
@ -166,8 +166,6 @@ if [ "$transfer_image" = "y" ]
|
|||||||
info "Starting image transfer..."
|
info "Starting image transfer..."
|
||||||
if [ "$os" = "arch" ]
|
if [ "$os" = "arch" ]
|
||||||
then
|
then
|
||||||
info "Deleting partition tables..." &&
|
|
||||||
wipefs -a "$device_path" &&
|
|
||||||
info "Creating partitions..." &&
|
info "Creating partitions..." &&
|
||||||
( echo "o" #Type o. This will clear out any partitions on the drive.
|
( echo "o" #Type o. This will clear out any partitions on the drive.
|
||||||
echo "p" #Type p to list partitions. There should be no partitions left
|
echo "p" #Type p to list partitions. There should be no partitions left
|
||||||
|
Loading…
Reference in New Issue
Block a user