diff --git a/sd_setup.sh b/sd_setup.sh index 5eba4bf..55a26ff 100644 --- a/sd_setup.sh +++ b/sd_setup.sh @@ -168,9 +168,12 @@ case "$os" in echo "Unmount partitions..." umount -v "$rootpath" "$bootpath" ;; - "retropie") + "moode") unzip -p "$imagepath" | sudo dd of="$of_device" bs=4M conv=fsync ;; + "retropie") + gunzip -c "$imagepath" | sudo dd of="$of_device" bs=4M conv=fsync + ;; *) echo "The operation system \"$os\" is not supported yet!" && exit 1; ;;