2011-12-05 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* pandora_server_upgrade: Removed rm of pandora_exec and pandora_server and changed for ln -s commands. Fixes: #3451305 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5233 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
0153444171
commit
278456393e
|
@ -1,3 +1,10 @@
|
|||
2011-12-05 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
|
||||
|
||||
* pandora_server_upgrade: Removed rm of pandora_exec and
|
||||
pandora_server and changed for ln -s commands.
|
||||
|
||||
Fixes: #3451305
|
||||
|
||||
2011-12-01 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
|
||||
|
||||
* lib/PandoraFMS/NetworkServer.pm
|
||||
|
|
|
@ -29,11 +29,12 @@ install () {
|
|||
|
||||
echo "Copying utilities...."
|
||||
cp -R util /usr/share/pandora_server
|
||||
cp bin/pandora_exec /usr/bin
|
||||
|
||||
echo "Rebuilding links /usr/local/bin -> /usr/bin"
|
||||
rm /usr/local/bin/pandora_server 2> /dev/null
|
||||
rm /usr/local/bin/pandora_exec 2> /dev/null
|
||||
#rm /usr/local/bin/pandora_server 2> /dev/null
|
||||
#rm /usr/local/bin/pandora_exec 2> /dev/null
|
||||
ln -s /usr/local/bin/pandora_server /usr/bin/pandora_server 2> /dev/null
|
||||
ln -s /usr/local/bin/pandora_exec /usr/bin/pandora_exec 2> /dev/null
|
||||
|
||||
if [ -d /etc/logrotate.d ]; then
|
||||
echo "Creating logrotate.d entry for Pandora FMS log management"
|
||||
|
@ -65,7 +66,7 @@ help () {
|
|||
|
||||
# Script banner at start
|
||||
echo " "
|
||||
echo "Pandora FMS 3.2 Server Upgrade (c) 2009-2010 Artica ST"
|
||||
echo "Pandora FMS 4.0dev Server Upgrade (c) 2009-2010 Artica ST"
|
||||
echo "This program is licensed under GPL2 Terms. http://pandorafms.org"
|
||||
echo " "
|
||||
|
||||
|
|
Loading…
Reference in New Issue