This allows installing WP into a directory that already has a wp-content
dir.
Props @carlalexander. Closes #293
$silent = WP_CLI::get_config('quiet') ? ' --silent ' : ' ';
WP_CLI::launch( 'curl -f' . $silent . escapeshellarg( $download_url ) . ' | tar xz' );
- WP_CLI::launch( 'mv wordpress/* . && rm -rf wordpress' );
+ WP_CLI::launch( 'cp -r wordpress/* . && rm -rf wordpress' );
WP_CLI::success( 'WordPress downloaded.' );
}