+ zpm shell "$ZPMDB" "update packages set status='updating' where status='installed' and package in (select package from packages where status = 'installing')"
done
# do the sync
done
# do the sync
@@ -184,6+192,8 @@ if [ "$pkgfile" != "$ZPMDB" ]; then