From 12c1252e06c3621c3789d8a17694f94d3f8378c9 Mon Sep 17 00:00:00 2001 From: "Kevin Veen-Birkenbach [aka. Frantz]" Date: Wed, 29 Apr 2020 16:09:53 +0200 Subject: [PATCH] Basic setup moode and retropie --- sd_setup.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; ;;