- mime=$($_FILE -Nbiz -m "$_LIB_MAGIC" "$t")
- compression=$(echo "$mime" | $_GREP '(' | $_SED 's!.*(\(.*\))$!\1!')
-
- case "$compression" in
- application/x-bzip2) DECOMPRESS="$_BZIP2 -d -c";;
- application/x-gzip) DECOMPRESS="$_GZIP -d -c";;
- "") DECOMPRESS=$_CAT;;
- *)
- echo "Unsupported compression method: $compression"
- exit 1
- ;;
- esac
+ findFile DESC "$__CONFDIR/.defaults/apps/h2ext/desc" "$__PKGLIBDEFAULTDIR/h2ext.desc"
+ pipe=$($_H2EXT -d "$DESC" -q "$t")