gustafn
committed
on 29 Jul 15
- improve robustness of upgrade script