It shall be the duty of the court or the chancellor to set apart out of the effects of the decedent, for the spouse and children who were being supported by the decedent, or for the spouse if there be no such children, or for such children if there be no spouse, one (1) year’s provision, including such provision as may be embraced in the exempt property set apart. If there be no provisions, or an insufficient amount, the court or the chancellor shall determine the sum necessary for the comfortable support of the spouse and children, or spouse or children, as the case may be, for one (1) year.