3 # Shell script that adds a new mimetype without transform function.
5 # The filename should contain either 'mimetype_subtype' or 'mimetype'.
6 # The suffix '.inc.php' is appended automatically!
8 # Example: template_generator_mimetype.sh 'filename'
12 echo "Usage: template_generator_mimetype.sh 'filename'"
17 .
/generator.sh
'TEMPLATE_MIMETYPE' "$1"
19 echo "New MIMETYPE $1.inc.php added."