better logging

This commit is contained in:
Martin Konecny 2013-04-08 18:53:35 -04:00
parent 3d135a9f4a
commit aca651a1b4
5 changed files with 6 additions and 3 deletions

View file

@ -172,6 +172,8 @@ set -e
echo -e "\n******************************** Install Begin *********************************"
rm -rf "/usr/lib/airtime"
mkdir -p /usr/lib/airtime
if [ "$python_service" -eq "0" ]; then
$AIRTIMEROOT/python_apps/python-virtualenv/virtualenv-install.sh
@ -208,6 +210,7 @@ if [ "$mediamonitor" = "t" -o "$pypo" = "t" ]; then
fi
#An attempt to force apache to realize that files are updated on upgrade...
touch /usr/share/airtime/public/index.php
if [ "$python_service" -eq "0" ]; then

View file

@ -72,7 +72,6 @@ if [ "$python_service" -eq "0" ]; then
fi
fi
mkdir -p /usr/lib/airtime
cp -R $AIRTIMEROOT/utils /usr/lib/airtime
cp -R $AIRTIMEROOT/python_apps/std_err_override /usr/lib/airtime

View file

@ -13,7 +13,7 @@ require_once(__DIR__.'/airtime-constants.php');
// -------------------------------------------------------------------------
$iniExists = file_exists("/etc/airtime/airtime.conf");
if ($iniExists){
if ($iniExists) {
//reinstall, Will ask if we should rewrite config files.
require_once(AirtimeInstall::GetAirtimeSrcDir().'/application/configs/conf.php');
$CC_CONFIG = Config::getConfig();