Current File : //var/lib/dpkg/info/ed.prerm
#! /bin/sh

set -e

if [ "$1" != "upgrade" ]; then
  update-alternatives --remove editor /bin/ed
fi