#!/bin/sh set -e if [ "$1" = "purge" ]; then dpkg-divert --quiet --remove --rename /test-file fi