Skip to content

Commit

Permalink
#125: zero in on beta installs, and predict the future too
Browse files Browse the repository at this point in the history
  • Loading branch information
yiendos committed Aug 20, 2020
1 parent cdd4068 commit fee1eaf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Joomlatools/Console/Command/Database/Install.php
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,8 @@ protected function _getInstallFiles($sample_data = false)

$version = Util::getJoomlaVersion($this->target_dir);

if (version_compare($version->release, '3.9', '>'))
if (version_compare($version->release, '4.0.0-alpha12', '>') &&
file_exists($path . "base.sql"))
{
$files[] = $path . "base.sql";
$files[] = $path . "extensions.sql";
Expand Down

0 comments on commit fee1eaf

Please sign in to comment.