summaryrefslogtreecommitdiffstats
path: root/tests/t-disappear-diverted-other/pkg-divert/DEBIAN/postrm
blob: 98891f6254fd7fc4dbc1b08d0817472a69e47cf5 (plain)
1
2
3
4
5
6
7
8
#!/bin/sh

set -e

if [ "$1" = "purge" ] || [ "$1" = "disappear" ]; then
  dpkg-divert --rename --remove /test-dir/test-divert
fi