#!/bin/sh
set -e

if [ "$1" = remove ] || [ "$1" = deconfigure ]; then
	update-alternatives --remove editor /usr/bin/isi
fi
