2010-06-06 Raul Mateos <raulofpandora@gmail.com>

* pandora_console_upgrade: Cleaned code. Updated year.

git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2862 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
raulmateos 2010-06-06 22:00:52 +00:00
parent 2f8150feb1
commit aa8c412299
2 changed files with 32 additions and 31 deletions

View File

@ -1,6 +1,7 @@
2010-06-06 Raúl Mateos <raulofpandora@gmail.com>
* pandora_console_install: Cleaned code. Updated year.
* pandora_console_install, pandora_console_upgrade: Cleaned code.
Updated year.
2010-06-06 Raúl Mateos <raulofpandora@gmail.com>

View File

@ -1,4 +1,4 @@
# Pandora FMS 2.0 Console Upgrade (c) 2009 Artica ST
# Pandora FMS 3.1 Console Upgrade (c) 2009-2010 Artica ST
# Please see http://www.pandorafms.com
# This code is licensed under GPL 2.0 license.
# **********************************************************************
@ -25,7 +25,7 @@ pandora_upgrade () {
echo "Installing new console code in $PANDORAPATH"
cp -R * $PANDORAPATH
# This makes the old-style config.php file usable with 3.0
# This makes the old-style config.php file usable with 3.x
line=$(grep "?>" -n $PANDORAPATH/include/config.php | head -1 | cut -f1 -d:)
line=$(($line - 1))