X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=autoscripts%2Fpostinst-wm;h=aef412a35601355ecd3764cbadd4677adcd68916;hb=f375c254bef045414797dfb9bd55c6ddc7391659;hp=794ad7004502bb5e76f095ae82a11f654f26b110;hpb=df1a9d2704b3052eaebbad1e9701fdc44cbeec8b;p=debhelper.git diff --git a/autoscripts/postinst-wm b/autoscripts/postinst-wm index 794ad70..aef412a 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