#!/bin/sh [ "$1" != "upgrade" ] || exit 0 set -e update-alternatives --remove patch /usr/bin/patch.patch