summaryrefslogtreecommitdiff
path: root/autoscripts/postinst-init-tmpfiles
blob: 3a70d2519cc50ec59be5f29eb908e7320a97e48b (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# || true
	fi
fi