mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-27 07:44:35 +02:00
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:
parent
2f8150feb1
commit
aa8c412299
@ -1,6 +1,7 @@
|
|||||||
2010-06-06 Raúl Mateos <raulofpandora@gmail.com>
|
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>
|
2010-06-06 Raúl Mateos <raulofpandora@gmail.com>
|
||||||
|
|
||||||
|
@ -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
|
# Please see http://www.pandorafms.com
|
||||||
# This code is licensed under GPL 2.0 license.
|
# This code is licensed under GPL 2.0 license.
|
||||||
# **********************************************************************
|
# **********************************************************************
|
||||||
@ -25,7 +25,7 @@ pandora_upgrade () {
|
|||||||
echo "Installing new console code in $PANDORAPATH"
|
echo "Installing new console code in $PANDORAPATH"
|
||||||
cp -R * $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=$(grep "?>" -n $PANDORAPATH/include/config.php | head -1 | cut -f1 -d:)
|
||||||
line=$(($line - 1))
|
line=$(($line - 1))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user