Sally Beauty buys Puerto Rico company