4 # Shell script that adds a new mimetype without transform function.
6 # The filename should contain either 'mimetype_subtype' or 'mimetype'.
7 # The suffix '.inc.php' is appended automatically!
9 # Example: template_generator_mimetype.sh 'filename'
13 echo "Usage: template_generator_mimetype.sh 'filename'"
18 .
/generator.sh
'TEMPLATE_MIMETYPE' "$1"
20 echo "New MIMETYPE $1.inc.php added."