summaryrefslogtreecommitdiffstats
path: root/iso2usb.sh
diff options
context:
space:
mode:
Diffstat (limited to 'iso2usb.sh')
-rw-r--r--iso2usb.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/iso2usb.sh b/iso2usb.sh
index 4bb33f1..be30582 100644
--- a/iso2usb.sh
+++ b/iso2usb.sh
@@ -80,7 +80,7 @@ DOLUKS=0
REFRESH=0
# These tools are required by the script, we will check for their existence:
-REQTOOLS="blkid cpio extlinux fdisk gdisk isoinfo lsblk mkdosfs sgdisk syslinux wipefs"
+REQTOOLS="blkid cpio cryptsetup extlinux fdisk find gdisk gzip isoinfo losetup lsblk lzip mkdosfs sgdisk syslinux wipefs xz"
# Path to syslinux files:
if [ -d /usr/share/syslinux ]; then
@@ -204,6 +204,8 @@ uncompressfs () {
gzip -cd "${1}"
elif $(file "${1}" | grep -qi ": XZ"); then
xz -cd "${1}"
+ elif $(file "${1}" | grep -qi ": lzip"); then
+ lzip -cd "${1}"
fi
}