From 1a42a93b11c48e696446250f2a1f1ca71b350e9b Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 14 May 2024 22:15:44 +0200 Subject: Adding upstream version 13.3.4. Signed-off-by: Daniel Baumann --- autoscripts/postinst-init-tmpfiles | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 autoscripts/postinst-init-tmpfiles (limited to 'autoscripts/postinst-init-tmpfiles') diff --git a/autoscripts/postinst-init-tmpfiles b/autoscripts/postinst-init-tmpfiles new file mode 100644 index 0000000..f258293 --- /dev/null +++ b/autoscripts/postinst-init-tmpfiles @@ -0,0 +1,7 @@ +if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then + # In case this system is running systemd, we need to ensure that all + # necessary tmpfiles (if any) are created before starting. + if [ -d /run/systemd/system ] ; then + systemd-tmpfiles --create #TMPFILES# >/dev/null || true + fi +fi -- cgit v1.2.3