Removed redundant code

This commit is contained in:
Kevin Veen-Birkenbach 2021-12-14 17:21:06 +01:00
parent f711d7894f
commit 8595021ffa

View File

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