- if (! Debian::Debhelper::Dh_Lib::compat(2) &&
- ! $dh{NOSCRIPTS} && $need_ldconfig) {
- autoscript($PACKAGE,"postinst","postinst-makeshlibs");
- autoscript($PACKAGE,"postrm","postrm-makeshlibs");
+ if (! compat(2) && ! $dh{NOSCRIPTS} && $need_ldconfig) {
+ autoscript($package,"postinst","postinst-makeshlibs");
+ autoscript($package,"postrm","postrm-makeshlibs");