gustafn
committed
on 26 Nov 16
- make upgrade script more robust