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 --- .../pkg-dir-symlink-int-1/DEBIAN/control | 7 +++++++ .../pkg-dir-symlink-int-1/DEBIAN/postinst | 6 ++++++ .../pkg-dir-symlink-int-1/DEBIAN/postrm | 6 ++++++ .../pkg-dir-symlink-int-1/DEBIAN/preinst | 6 ++++++ 4 files changed, 25 insertions(+) create mode 100644 tests/t-switch-dir-to-symlink-rel/pkg-dir-symlink-int-1/DEBIAN/control create mode 100755 tests/t-switch-dir-to-symlink-rel/pkg-dir-symlink-int-1/DEBIAN/postinst create mode 100755 tests/t-switch-dir-to-symlink-rel/pkg-dir-symlink-int-1/DEBIAN/postrm create mode 100755 tests/t-switch-dir-to-symlink-rel/pkg-dir-symlink-int-1/DEBIAN/preinst (limited to 'tests/t-switch-dir-to-symlink-rel/pkg-dir-symlink-int-1/DEBIAN') diff --git a/tests/t-switch-dir-to-symlink-rel/pkg-dir-symlink-int-1/DEBIAN/control b/tests/t-switch-dir-to-symlink-rel/pkg-dir-symlink-int-1/DEBIAN/control new file mode 100644 index 0000000..6852587 --- /dev/null +++ b/tests/t-switch-dir-to-symlink-rel/pkg-dir-symlink-int-1/DEBIAN/control @@ -0,0 +1,7 @@ +Package: pkg-dir-symlink-int +Version: 1 +Section: test +Priority: extra +Maintainer: Dpkg Developers +Architecture: all +Description: test package - package switching dir to symlink diff --git a/tests/t-switch-dir-to-symlink-rel/pkg-dir-symlink-int-1/DEBIAN/postinst b/tests/t-switch-dir-to-symlink-rel/pkg-dir-symlink-int-1/DEBIAN/postinst new file mode 100755 index 0000000..572dfa2 --- /dev/null +++ b/tests/t-switch-dir-to-symlink-rel/pkg-dir-symlink-int-1/DEBIAN/postinst @@ -0,0 +1,6 @@ +#!/bin/sh +set -e +if dpkg-maintscript-helper supports dir_to_symlink; then + dpkg-maintscript-helper dir_to_symlink \ + /test-path/test-subpath ../test-dir 0 -- "$@" +fi diff --git a/tests/t-switch-dir-to-symlink-rel/pkg-dir-symlink-int-1/DEBIAN/postrm b/tests/t-switch-dir-to-symlink-rel/pkg-dir-symlink-int-1/DEBIAN/postrm new file mode 100755 index 0000000..572dfa2 --- /dev/null +++ b/tests/t-switch-dir-to-symlink-rel/pkg-dir-symlink-int-1/DEBIAN/postrm @@ -0,0 +1,6 @@ +#!/bin/sh +set -e +if dpkg-maintscript-helper supports dir_to_symlink; then + dpkg-maintscript-helper dir_to_symlink \ + /test-path/test-subpath ../test-dir 0 -- "$@" +fi diff --git a/tests/t-switch-dir-to-symlink-rel/pkg-dir-symlink-int-1/DEBIAN/preinst b/tests/t-switch-dir-to-symlink-rel/pkg-dir-symlink-int-1/DEBIAN/preinst new file mode 100755 index 0000000..572dfa2 --- /dev/null +++ b/tests/t-switch-dir-to-symlink-rel/pkg-dir-symlink-int-1/DEBIAN/preinst @@ -0,0 +1,6 @@ +#!/bin/sh +set -e +if dpkg-maintscript-helper supports dir_to_symlink; then + dpkg-maintscript-helper dir_to_symlink \ + /test-path/test-subpath ../test-dir 0 -- "$@" +fi -- cgit v1.2.3