From dbf14b11a1c911e6832e5518ae9c3e406245edaa Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 17 Jun 2024 18:37:30 +0200 Subject: Merging upstream version 13.16. Signed-off-by: Daniel Baumann --- autoscripts/postrm-init-tmpfiles-purge | 7 +++++++ autoscripts/postrm-init-tmpfiles-remove | 7 +++++++ 2 files changed, 14 insertions(+) create mode 100644 autoscripts/postrm-init-tmpfiles-purge create mode 100644 autoscripts/postrm-init-tmpfiles-remove (limited to 'autoscripts') diff --git a/autoscripts/postrm-init-tmpfiles-purge b/autoscripts/postrm-init-tmpfiles-purge new file mode 100644 index 0000000..31419f5 --- /dev/null +++ b/autoscripts/postrm-init-tmpfiles-purge @@ -0,0 +1,7 @@ +if [ -x "$(command -v systemd-tmpfiles)" ]; then + if [ "$1" = "purge" ] && systemd-tmpfiles --help | grep -q "\-\-purge"; then + systemd-tmpfiles ${DPKG_ROOT:+--root="$DPKG_ROOT"} --purge - >/dev/null </dev/null <