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