woothemes/woocommerce — pull request #1691 by thenbrent (2012-11-06 07:27:55+00:00)
Title: Don't run data upgrade on first install

At the moment, when WooCommerce is installed for the first time, the database upgrade notice will be displayed instead of the installation notice.

This is because `get_option( 'woocommerce_db_version' )` returns `false` which evaluates to less than 1.7 with `version_compare( $current_db_version, '1.7', '<' )` on [line 89](https://github.com/woothemes/woocommerce/blob/master/admin/woocommerce-admin-install.php#L87).

This fixes that.