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