diff options
author | Eric Hameleers <alien@slackware.com> | 2019-02-16 18:32:59 +0100 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2019-02-16 18:32:59 +0100 |
commit | 7cdd733ba9b2418c6c1fa018940eba78a01b85c4 (patch) | |
tree | 628ea6ce738a66090ac5ac1aa6793b4e33f45c8e /iso2usb.sh | |
parent | df0b4dcefed769208d93c8936dd625af7aa27b14 (diff) | |
download | liveslak-7cdd733ba9b2418c6c1fa018940eba78a01b85c4.tar.gz liveslak-7cdd733ba9b2418c6c1fa018940eba78a01b85c4.tar.xz |
iso2usb.sh: warn and exit if zstd support is missing
Diffstat (limited to '')
-rw-r--r-- | iso2usb.sh | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -419,7 +419,7 @@ while [ ! -z "$1" ]; do HLUKSSIZE="$2" DOLUKS=1 # Needs unsquashfs to extract the /home - REQTOOLS="${REQTOOLS} unsquashfs" + REQTOOLS="${REQTOOLS} unsquashfs zstd" shift 2 ;; -d|--devices) @@ -544,6 +544,11 @@ done if [ ! -z "$PROG_MISSING" ] ; then echo "-- Required program(s) not found in search path '$PATH'!" echo -e ${PROG_MISSING} + if echo ${PROG_MISSING} |grep -wq zstd ; then + echo "-- Note that the 'zstd' program is missing which means" + echo "-- unsquashfs is not linking against it." + echo "-- Install the zstd and squashf-stools packages for zstd support." + fi echo "-- Exiting." exit 1 fi |