Skip to content

Commit

Permalink
set version to 2.0.21 for upcoming maintenance release
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Kaufmann <[email protected]>
  • Loading branch information
d00p committed Jul 7, 2023
1 parent b0e43d3 commit 13daa7d
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
4 changes: 2 additions & 2 deletions install/froxlor.sql.php
Original file line number Diff line number Diff line change
Expand Up @@ -697,7 +697,7 @@
('system', 'distribution', ''),
('system', 'update_channel', 'stable'),
('system', 'updatecheck_data', ''),
('system', 'update_notify_last', '2.0.20'),
('system', 'update_notify_last', '2.0.21'),
('system', 'traffictool', 'goaccess'),
('system', 'req_limit_per_interval', 60),
('system', 'req_limit_interval', 60),
Expand Down Expand Up @@ -744,7 +744,7 @@
('panel', 'logo_overridetheme', '0'),
('panel', 'logo_overridecustom', '0'),
('panel', 'settings_mode', '0'),
('panel', 'version', '2.0.20'),
('panel', 'version', '2.0.21'),
('panel', 'db_version', '202304260');
Expand Down
7 changes: 6 additions & 1 deletion install/updates/froxlor/update_2.x.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@
Update::showUpdateStep("Adding new settings");
$panel_settings_mode = isset($_POST['panel_settings_mode']) ? (int)$_POST['panel_settings_mode'] : 0;
Settings::AddNew("panel.settings_mode", $panel_settings_mode);
$system_distribution = isset($_POST['system_distribution']) ? $_POST['system_distribution'] : '';
$system_distribution = isset($_POST['system_distribution']) ? $_POST['system_distribution'] : 'bullseye';
Settings::AddNew("system.distribution", $system_distribution);
Settings::AddNew("system.update_channel", 'stable');
Settings::AddNew("system.updatecheck_data", '');
Expand Down Expand Up @@ -497,3 +497,8 @@
Update::showUpdateStep("Updating from 2.0.19 to 2.0.20", false);
Froxlor::updateToVersion('2.0.20');
}

if (Froxlor::isFroxlorVersion('2.0.20')) {
Update::showUpdateStep("Updating from 2.0.20 to 2.0.21", false);
Froxlor::updateToVersion('2.0.21');
}
2 changes: 1 addition & 1 deletion install/updates/preconfig/preconfig_2.x.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
$config_dir = FileDir::makeCorrectDir(Froxlor::getInstallDir() . '/lib/configfiles/');
// show list of available distro's
$distros = glob($config_dir . '*.xml');
$distributions_select[''] = '-';
// selection is required $distributions_select[''] = '-';
// read in all the distros
foreach ($distros as $_distribution) {
// get configparser object
Expand Down
2 changes: 1 addition & 1 deletion lib/Froxlor/Froxlor.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ final class Froxlor
{

// Main version variable
const VERSION = '2.0.20';
const VERSION = '2.0.21';

// Database version (YYYYMMDDC where C is a daily counter)
const DBVERSION = '202304260';
Expand Down

0 comments on commit 13daa7d

Please sign in to comment.