Basic setup moode and retropie

This commit is contained in:
Kevin Veen-Birkenbach 2020-04-29 16:09:53 +02:00
parent 1839ac6da1
commit 12c1252e06

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