Added unzip actions
This commit is contained in:
parent
f6816052bb
commit
5428f052d9
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user