joomla/joomla-platform — pull request #702 by marcel-kanter (2012-01-03 11:44:04+00:00)
Title: Allow template and library extension types to use scriptfiles

This pull request makes changes to the template and library extension installer to allow for a scriptfile to be included on a template or a library.

This will allow them to have a preflight method, for example to check for any dependencies, such as another extension's presence or a minimum Joomla! version.

The scripts stay together with the rest of the files in extension_root with the other files.