1 2 3 4 5 6 7 8
#!/bin/sh set -e if [ "$1" = "purge" ]; then dpkg-divert --remove --rename /test-conffile fi