#! /bin/sh -e if test "$1" != "upgrade"; then update-alternatives --remove editor /usr/bin/lpe fi