#!/bin/sh # miwm.postinst PATH=/usr/bin:$PATH set -e GENERICBIN=/usr/bin/x-window-manager ETCALT=x-window-manager BIN=/usr/bin/miwm PRIORITY=20 Warn () { echo "$@" >&2 } Alternatives () { update-alternatives --install $GENERICBIN $ETCALT $BIN $PRIORITY } Debhelper () { : # Automatically generated #DEBHELPER# } Main () { if [ "$1" = "configure" ] ; then Alternatives Debhelper fi } Main "$@" # End of file