- }
-
- foreach $file (@info) {
- # Only register with install-info if this is a head file in
- # a tree of info files.
- if ($file !~ /-\d+$/ && ! $dh{NOSCRIPTS}) {
- my $fn="/usr/share/info/".basename($file);
-
- autoscript($package,"postinst","postinst-info",
- "s:#FILE#:$fn:");
- autoscript($package,"prerm","prerm-info", "s:#FILE#:$fn:");
- }
+ # For transition, could be removed later.
+ addsubstvar($package, "misc:Depends", "dpkg (>= 1.15.4) | install-info");