summaryrefslogtreecommitdiffstats
path: root/autoscripts/postrm-init-tmpfiles-remove
diff options
context:
space:
mode:
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