#!/bin/sh [ "$1" ] || exit 0 if file "$1" |grep -q "Macromedia Flash" ; then exec firefox "$@" fi exec xdg-open "$@"