]> git.donarmstrong.com Git - debhelper.git/blobdiff - autoscripts/postinst-wm
r353: * Modified all postinst script fragments to only run when called with
[debhelper.git] / autoscripts / postinst-wm
index 794ad7004502bb5e76f095ae82a11f654f26b110..aef412a35601355ecd3764cbadd4677adcd68916 100644 (file)
@@ -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