grml-live-remaster: Drop deprecated mksquashfs-lzma support
authorMichael Prokop <mika@grml.org>
Wed, 25 Apr 2012 14:32:11 +0000 (16:32 +0200)
committerMichael Prokop <mika@grml.org>
Wed, 25 Apr 2012 14:42:15 +0000 (16:42 +0200)
remaster/grml-live-remaster

index d4970a6..57129d3 100755 (executable)
@@ -58,12 +58,10 @@ check4progs stat || exit 1
 
 # allow overriding via environment:
 if [ -z "$MKSQUASHFS" ] ; then
 
 # allow overriding via environment:
 if [ -z "$MKSQUASHFS" ] ; then
-  if which mksquashfs-lzma >/dev/null 2>&1 ; then
-    MKSQUASHFS=mksquashfs-lzma
-  elif which mksquashfs >/dev/null 2>&1 ; then
+  if which mksquashfs >/dev/null 2>&1 ; then
     MKSQUASHFS=mksquashfs
   else
     MKSQUASHFS=mksquashfs
   else
-    echo "Error: neither mksquashfs-lzma nor mksquashfs present. Exiting."
+    echo "Error: mksquashfs is not available. Exiting." >&2
     exit 1
   fi
 fi
     exit 1
   fi
 fi