Where by any provisions of law any certain or definite percentage of the revenue of any city or town from licenses or taxes, either or both, is required to be used for the maintenance of its public schools, then such provisions shall be unaffected by this title and shall be and remain in full force and effect.