summaryrefslogtreecommitdiff
path: root/autoscripts/postinst-init-tmpfiles
blob: 9bce94c73a2ed2276cd56a62a89075677207fb80 (plain)
1
2
3
4
5
6
7
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ]; 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