From ea314d2f45c40a006c0104157013ab4b857f665f Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Apr 2024 20:35:28 +0200 Subject: Adding upstream version 1.22.4. Signed-off-by: Daniel Baumann --- .../t-dir-leftover-parents/pkg-dir-shared-notempty/DEBIAN/control | 7 +++++++ .../t-dir-leftover-parents/pkg-dir-shared-notempty/DEBIAN/postinst | 7 +++++++ tests/t-dir-leftover-parents/pkg-dir-shared-notempty/DEBIAN/postrm | 7 +++++++ .../pkg-dir-shared-notempty/test-dir/subdir/subsubdir/.keep | 0 4 files changed, 21 insertions(+) create mode 100644 tests/t-dir-leftover-parents/pkg-dir-shared-notempty/DEBIAN/control create mode 100755 tests/t-dir-leftover-parents/pkg-dir-shared-notempty/DEBIAN/postinst create mode 100755 tests/t-dir-leftover-parents/pkg-dir-shared-notempty/DEBIAN/postrm create mode 100644 tests/t-dir-leftover-parents/pkg-dir-shared-notempty/test-dir/subdir/subsubdir/.keep (limited to 'tests/t-dir-leftover-parents/pkg-dir-shared-notempty') diff --git a/tests/t-dir-leftover-parents/pkg-dir-shared-notempty/DEBIAN/control b/tests/t-dir-leftover-parents/pkg-dir-shared-notempty/DEBIAN/control new file mode 100644 index 0000000..e904178 --- /dev/null +++ b/tests/t-dir-leftover-parents/pkg-dir-shared-notempty/DEBIAN/control @@ -0,0 +1,7 @@ +Package: pkg-dir-shared-notempty +Version: 0 +Section: test +Priority: extra +Maintainer: Dpkg Developers +Architecture: all +Description: test package - shared directory with a config file diff --git a/tests/t-dir-leftover-parents/pkg-dir-shared-notempty/DEBIAN/postinst b/tests/t-dir-leftover-parents/pkg-dir-shared-notempty/DEBIAN/postinst new file mode 100755 index 0000000..d3cc9ef --- /dev/null +++ b/tests/t-dir-leftover-parents/pkg-dir-shared-notempty/DEBIAN/postinst @@ -0,0 +1,7 @@ +#!/bin/sh + +case "$1" in +configure) + touch "$DPKG_ROOT/test-dir/subdir/subsubdir/file" + ;; +esac 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 diff --git a/tests/t-dir-leftover-parents/pkg-dir-shared-notempty/test-dir/subdir/subsubdir/.keep b/tests/t-dir-leftover-parents/pkg-dir-shared-notempty/test-dir/subdir/subsubdir/.keep new file mode 100644 index 0000000..e69de29 -- cgit v1.2.3