Update install.sh

Adds support to *.zip files
This commit is contained in:
Lucas Freitas 2021-12-19 21:09:29 +01:00 committed by GitHub
parent f6816052bb
commit 7078ff8ac8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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