summaryrefslogtreecommitdiffstats
path: root/autoscripts/postinst-init-tmpfiles
blob: b9f7191145bb47ef6aa60ddac64daf54f3f333a1 (plain)
1
2
3
4
5
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
	if [ -x "$(command -v systemd-tmpfiles)" ]; then
		systemd-tmpfiles ${DPKG_ROOT:+--root="$DPKG_ROOT"} --create #TMPFILES# >/dev/null || true
	fi
fi