Last week , Somalia 's cabinet voted to make Sharia the basis of Somalia 's legal system , in an effort to appease the insurgents .