2012-04-25 Miguel de Dios <miguel.dedios@artica.es>

* DEBIAN/postinst, DEBIAN/make_deb_package.sh: disabled the checking
	the plugins files with same name.




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6160 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2012-04-25 15:31:00 +00:00
parent 4666928be1
commit edd1ee264c
3 changed files with 13 additions and 6 deletions

View File

@ -1,3 +1,8 @@
2012-04-25 Miguel de Dios <miguel.dedios@artica.es>
* DEBIAN/postinst, DEBIAN/make_deb_package.sh: disabled the checking
the plugins files with same name.
2012-04-24 Ramon Novoa <rnovoa@artica.es>
* pandora_agent: Merged from 4.0 branch. Leave the secondary server

View File

@ -65,9 +65,10 @@ cp Linux/pandora_agent.conf temp_package/etc/pandora/
cp -aRf man/man1/* temp_package/usr/share/man/man1/
#Create a temp file for to update files of plugins dir but don't crush dir.
cp -aRf temp_package/usr/share/pandora_agent/plugins temp_package/tmp
rm -rf temp_package/usr/share/pandora_agent/plugins/*
#Disabled, now the package overwrite the previous files.
##Create a temp file for to update files of plugins dir but don't crush dir.
##cp -aRf temp_package/usr/share/pandora_agent/plugins temp_package/tmp
##rm -rf temp_package/usr/share/pandora_agent/plugins/*
echo "Remove the SVN files and other temp files."
for item in `find temp_package`

View File

@ -8,9 +8,10 @@ PANDORA_CFG=/etc/pandora
LOG_TIMESTAMP=`date +"%Y/%m/%d %H:%M:%S"`
echo "Copy new version of plugins into dir"
cp -i /tmp/plugins/* /usr/share/pandora_agent/plugins/
rm /tmp/plugins -rf
#Disabled, now the package overwrite the previous files.
#echo "Copy new version of plugins into dir"
#cp -i /tmp/plugins/* /usr/share/pandora_agent/plugins/
#rm /tmp/plugins -rf
echo "Linking Pandora FMS Agent plugins directory to $PANDORA_CFG/plugins..."
rm $PANDORA_CFG/plugins 2> /dev/null