# Avoid hp-check error.
if systemd-detect-virt -q --container; then
	if ! systemd-detect-virt -q --chroot ; then
		echo "Running in a container, skipping CUPS auto-enable."
		exit 0
	fi
fi

systemctl enable cups --now
