Added unzip actions

This commit is contained in:
Luke Moch 2021-06-09 10:42:48 +00:00
parent f6816052bb
commit 5428f052d9

View File

@ -112,6 +112,7 @@ FILE=$(basename $URL)
msg "Extracting disk image..." msg "Extracting disk image..."
case $FILE in case $FILE in
*"gz") gunzip -f $FILE;; *"gz") gunzip -f $FILE;;
*"zip") unzip -o $FILE;;
*"xz") xz -d $FILE;; *"xz") xz -d $FILE;;
*) die "Unable to handle file extension '${FILE##*.}'.";; *) die "Unable to handle file extension '${FILE##*.}'.";;
esac esac