Basic setup moode and retropie

This commit is contained in:
kevinveenbirkenbach committed 2020-04-29 16:09:53 +02:00
1 parent 1839ac6da1
commit 12c1252e06
1 file changed
+4 -1
+4 -1
View File
@@ -168,9 +168,12 @@ case "$os" in
echo "Unmount partitions..." echo "Unmount partitions..."
umount -v "$rootpath" "$bootpath" umount -v "$rootpath" "$bootpath"
;; ;;
"retropie") "moode")
unzip -p "$imagepath" | sudo dd of="$of_device" bs=4M conv=fsync 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; echo "The operation system \"$os\" is not supported yet!" && exit 1;
;; ;;