2010-06-01 Miguel de Dios <miguel.dedios@artica.es>

* DEBIAN/conffiles: added file config.php as conf file for package Debian.
	 
	* DEBIAN/make_deb_package.sh: changed the source to "touch" conf file.

	* index.php: fixed the tests for config.php, now check if empty file then
	call installer.php. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2834 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2010-06-01 14:42:27 +00:00
parent 9628d52c5a
commit b4f64756bc
4 changed files with 16 additions and 0 deletions

View File

@ -1,3 +1,12 @@
2010-06-01 Miguel de Dios <miguel.dedios@artica.es>
* DEBIAN/conffiles: added file config.php as conf file for package Debian.
* DEBIAN/make_deb_package.sh: changed the source to "touch" conf file.
* index.php: fixed the tests for config.php, now check if empty file then
call installer.php.
2010-06-01 Sergio Martin <sergio.martin@artica.es>
* include/functions_visual_map.php: Fixed a

View File

@ -0,0 +1,2 @@
/var/www/pandora_console/include/config.php
/var/www/pandora_console/extensions

View File

@ -95,6 +95,7 @@ then
find temp_package/var/www/pandora_console -name ".svn" | xargs rm -Rf
rm -Rf temp_package/var/www/pandora_console/pandora_console.spec
chmod 755 -R temp_package/DEBIAN
touch temp_package/var/www/pandora_console/include/config.php
echo "Calculate md5sum for md5sums package control file."
for item in `find temp_package`

View File

@ -34,6 +34,10 @@ if ($develop_bypass != 1) {
exit;
}
}
if (filesize("include/config.php") == 0) {
include ("install.php");
exit;
}
// Check for installer presence
if (file_exists ("install.php")) {
include "general/error_install.php";