1 2 3 4
if [ "$1" = "configure" ]; then update-alternatives --install /usr/bin/x-window-manager \ x-window-manager #WM# #PRIORITY# fi