dd: 不使用 mime 判断dd镜像格式

This commit is contained in:
bin456789
2023-06-05 19:50:21 +08:00
parent ecc3134479
commit a66cbdfb41
2 changed files with 14 additions and 10 deletions

View File

@ -92,7 +92,7 @@ if [ "$distro" = "alpine" ]; then
elif [ "$distro" = "dd" ]; then
case "$img_type" in
gz) prog=gzip ;;
gzip) prog=gzip ;;
xz) prog=xz ;;
esac