Walgreens and CVS were engaged in a war nationwide, building stores as close to each other as possible, often on opposite sides of the same street.