I would like to know how to patch a plugin ? Where I must be (in what directory) ?
Because, I install the plugin nectar, and I must patch the plugin settings. I have do a thing, but it asks for the file to patch...
Code: Select all
server:/usr/share/cacti/site/plugins/settings# patch -p1 -N < settings_include_functions.php.patch
(Stripping trailing CRs from patch.)
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- cacti_plugins/settings/trunk/include/functions.php 2009-10-29 23:46:43.000000000 +0100
|+++ plugin087d/plugins/settings/include/functions.php 2009-12-05 22:23:07.000000000 +0100
--------------------------
File to patch:
Skip this patch? [y] y
Skipping patch.
2 out of 2 hunks ignored
Thanks a lot early for your responses!!
-- Sorry for my english!! --