How did the civil war adapt to the Texas shortages after the civil war?