summaryrefslogtreecommitdiffstats
path: root/tests/t-dir-leftover-parents/pkg-dir-shared-notempty/DEBIAN/postrm
diff options
context:
space:
mode:
Diffstat (limited to 'tests/t-dir-leftover-parents/pkg-dir-shared-notempty/DEBIAN/postrm')
-rwxr-xr-xtests/t-dir-leftover-parents/pkg-dir-shared-notempty/DEBIAN/postrm7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/t-dir-leftover-parents/pkg-dir-shared-notempty/DEBIAN/postrm b/tests/t-dir-leftover-parents/pkg-dir-shared-notempty/DEBIAN/postrm
new file mode 100755
index 0000000..7906c69
--- /dev/null
+++ b/tests/t-dir-leftover-parents/pkg-dir-shared-notempty/DEBIAN/postrm
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+case "$1" in
+purge)
+ rm "$DPKG_ROOT/test-dir/subdir/subsubdir/file"
+ ;;
+esac