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