If a gift is offered to the library on conditions involving the performance of certain acts annually, the municipality may obligate itself to perform such acts, by ordinance which shall not be repealed.