3 # Add to postinst and postrm to register a window manager.
5 BEGIN { push @INC, "debian", "/usr/share/debhelper" }
12 error("No window manager filename was specified.");
15 foreach $PACKAGE (@{$dh{DOPACKAGES}}) {
16 # $TMP=tmpdir($PACKAGE);
18 if (! $dh{NOSCRIPTS}) {
19 autoscript($PACKAGE,"postinst","postinst-wm","s:#WM#:$wm:");
20 autoscript($PACKAGE,"postrm","postrm-wm","s:#WM#:$wm:");