With version 0.3.0.23 of the openmediavault package every plugin should use deb-triggers to reduce the system load and useless function calls during installation. Until now each plugin is calling the functions 'omv_install_locale' and 'omv_install_fixperms' separately in the postinst script, using triggers will make this unnecessary. To use triggers you simply have to create the file debian/xxxx.triggers which contains (until now) the following content:
You may have a look here for example:
http://openmediavault.svn.sour…vault-forkeddaapd/debian/
http://openmediavault.svn.sour…?revision=300&view=markup