fix upgrade script
Merge branch 'master' of git://github.com/diversen/coscms