diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 808a43fe45..9cdd7d7de9 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,16 @@ +2012-06-21 Ramon Novoa + + * pandoradb_data.sql, + DEBIAN/control, + DEBIAN/make_deb_package.sh, + include/config_process.php, + install.php, + pandora_console.spec, + pandora_console.redhat.spec: Updated version strings. + + * extensions/update_manager.php: Merged from 4.0 branch. Ignore blank + lines in installation SQL file. + 2012-06-21 Miguel de Dios * extensions/update_manager/load_updatemanager.php: fixed the lost diff --git a/pandora_console/DEBIAN/control b/pandora_console/DEBIAN/control index 3ea90d0e9a..9739165b11 100644 --- a/pandora_console/DEBIAN/control +++ b/pandora_console/DEBIAN/control @@ -1,5 +1,5 @@ package: pandorafms-console -Version: 4.0.1 +Version: 5.0dev Architecture: all Priority: optional Section: admin diff --git a/pandora_console/DEBIAN/make_deb_package.sh b/pandora_console/DEBIAN/make_deb_package.sh index 19bcf06d15..2a4c118049 100644 --- a/pandora_console/DEBIAN/make_deb_package.sh +++ b/pandora_console/DEBIAN/make_deb_package.sh @@ -14,7 +14,7 @@ # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. -pandora_version="4.0.1" +pandora_version="5.0dev" package_pear=0 package_pandora=1 diff --git a/pandora_console/extensions/update_manager.php b/pandora_console/extensions/update_manager.php index 1d27557515..6c6e0d28de 100644 --- a/pandora_console/extensions/update_manager.php +++ b/pandora_console/extensions/update_manager.php @@ -111,6 +111,8 @@ function pandora_update_manager_install () { break; } foreach ($sentences as $sentence) { + if (trim ($sentence) == "") + continue; $success = db_process_sql ($sentence); if ($success === false) return; diff --git a/pandora_console/include/config_process.php b/pandora_console/include/config_process.php index 12f1851c1e..cc73d8314e 100644 --- a/pandora_console/include/config_process.php +++ b/pandora_console/include/config_process.php @@ -22,8 +22,8 @@ /** * Pandora build version and version */ -$build_version = 'PC120214'; -$pandora_version = 'v5.0-dev'; +$build_version = 'PC120621'; +$pandora_version = 'v5.0dev'; // Do not overwrite default timezone set if defined. $script_tz = @date_default_timezone_get(); diff --git a/pandora_console/install.php b/pandora_console/install.php index b6b45a74eb..6691ec3da8 100644 --- a/pandora_console/install.php +++ b/pandora_console/install.php @@ -66,8 +66,8 @@ function ChangeDBAction(causer) {