I'm not convinced this is fixed in Gutsy either. From the kernel in git: ubuntu-gutsy/debian/control-scripts/postinst
$postinst_hook = "$1" if /postinst_hook\s*=\s*(\S+)/ig;
$postrm_hook = "$1" if /postrm_hook\s*=\s*(\S+)/ig;
$preinst_hook = "$1" if /preinst_hook\s*=\s*(\S+)/ig;
$prerm_hook = "$1" if /prerm_hook\s*=\s*(\S+)/ig;
This has not had the patch from above applied to it.
I'm not convinced this is fixed in Gutsy either. From the kernel in git: ubuntu- gutsy/debian/ control- scripts/ postinst
$ postinst_ hook = "$1" if /postinst_ hook\s* =\s*(\S+ )/ig; hook\s* =\s*(\S+ )/ig; hook\s* =\s*(\S+ )/ig; hook\s* =\s*(\S+ )/ig;
$postrm_hook = "$1" if /postrm_
$preinst_hook = "$1" if /preinst_
$prerm_hook = "$1" if /prerm_
This has not had the patch from above applied to it.