gustafn
committed
on 31 Dec 15
- improve robustness of upgrade script