#!/bin/sh -e if [ "$1" != "upgrade" ]; then update-alternatives --remove pico /usr/bin/nano fi