From f375c254bef045414797dfb9bd55c6ddc7391659 Mon Sep 17 00:00:00 2001 From: joey Date: Thu, 6 Jul 2000 00:18:18 +0000 Subject: r353: * Modified all postinst script fragments to only run when called with "configure". I looked at the other possibilities, and I don't think any of the supported stuff should be called if the postist is called for error unwinds. Closes: #66673 * Implemented dh_clean -X, to allow specification of files to not delete, Closes: #66670 --- autoscripts/postinst-wm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'autoscripts/postinst-wm') diff --git a/autoscripts/postinst-wm b/autoscripts/postinst-wm index 794ad700..aef412a3 100644 --- a/autoscripts/postinst-wm +++ b/autoscripts/postinst-wm @@ -1,2 +1,4 @@ -update-alternatives --install /usr/bin/x-window-manager \ - x-window-manager #WM# #PRIORITY# +if [ "$1" = "configure" ]; then + update-alternatives --install /usr/bin/x-window-manager \ + x-window-manager #WM# #PRIORITY# +fi -- cgit v1.2.3