summaryrefslogtreecommitdiffstats
path: root/autoscripts
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-17 16:37:30 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-17 16:37:30 +0000
commitdbf14b11a1c911e6832e5518ae9c3e406245edaa (patch)
treef2b58ca7d37f97bf2c49862a31951aa103c06b12 /autoscripts
parentReleasing progress-linux version 13.15.3-0.0~progress7.99u1. (diff)
downloaddebhelper-dbf14b11a1c911e6832e5518ae9c3e406245edaa.tar.xz
debhelper-dbf14b11a1c911e6832e5518ae9c3e406245edaa.zip
Merging upstream version 13.16.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'autoscripts')
-rw-r--r--autoscripts/postrm-init-tmpfiles-purge7
-rw-r--r--autoscripts/postrm-init-tmpfiles-remove7
2 files changed, 14 insertions, 0 deletions
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 <<TMPFILES_EOF || true
+#TMPFILES_PURGE#
+TMPFILES_EOF
+ fi
+fi
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