gustafn
committed
on 21 Aug 15
- make upgrade script more robust