summaryrefslogtreecommitdiffstats
path: root/autoscripts/postrm-init-tmpfiles-remove
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-17 16:37:29 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-17 16:37:29 +0000
commit844f9dee1c256e13b61cc38cba7b21f257e3103f (patch)
treea26c94100528f80c4a5fc0344a18d441598322cf /autoscripts/postrm-init-tmpfiles-remove
parentAdding debian version 13.15.3. (diff)
downloaddebhelper-844f9dee1c256e13b61cc38cba7b21f257e3103f.tar.xz
debhelper-844f9dee1c256e13b61cc38cba7b21f257e3103f.zip
Merging upstream version 13.16.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'autoscripts/postrm-init-tmpfiles-remove')
-rw-r--r--autoscripts/postrm-init-tmpfiles-remove7
1 files changed, 7 insertions, 0 deletions
diff --git a/autoscripts/postrm-init-tmpfiles-remove b/autoscripts/postrm-init-tmpfiles-remove
new file mode 100644
index 0000000..3132744
--- /dev/null
+++ b/autoscripts/postrm-init-tmpfiles-remove
@@ -0,0 +1,7 @@
+if [ -x "$(command -v systemd-tmpfiles)" ]; then
+ if [ "$1" = "remove" ]; then
+ systemd-tmpfiles ${DPKG_ROOT:+--root="$DPKG_ROOT"} --remove - >/dev/null <<TMPFILES_EOF || true
+#TMPFILES_REMOVE#
+TMPFILES_EOF
+ fi
+fi