#!/bin/sh set -e case "$1" in remove|deconfigure) update-alternatives --quiet --remove wine /usr/bin/wine-stable ;; esac exit 0