| View previous topic :: View next topic |
| Author |
Message |
Mogour Voice
Joined: 10 Feb 2008 Posts: 17
|
Posted: Tue Apr 22, 2008 10:04 am Post subject: Patching eggdrop |
|
|
I tried to patch the eggdrop to the new version (from 1.6.18. to 1.6.19)
I downloaded the patch and made:
| Quote: |
patch -p1 < ../path.to.the/patch
|
But if I do this:
| Quote: | Once this is complete, execute the following command:
find . -name "*.rej" -print
|
I just get:
| Quote: | | find: ./.maildir/.Junk: Permission denied |
Any ideas? |
|
| Back to top |
|
 |
DragnLord Owner

Joined: 24 Jan 2004 Posts: 711 Location: C'ville, Virginia, USA
|
Posted: Tue Apr 22, 2008 12:10 pm Post subject: Re: Patching eggdrop |
|
|
| Mogour wrote: | I tried to patch the eggdrop to the new version (from 1.6.18. to 1.6.19)
I downloaded the patch and made:
| Quote: |
patch -p1 < ../path.to.the/patch
|
But if I do this:
| Quote: | Once this is complete, execute the following command:
find . -name "*.rej" -print
|
I just get:
| Quote: | | find: ./.maildir/.Junk: Permission denied |
Any ideas? |
| Quote: | Once this is complete, execute the following command:
find . -name "*.rej" -print
If it returns a list with filenames ending with .rej extension, then the patch didn't apply properly. Ensure that the patch is intended for your version and that you have the original source. You should also try to re-download the patch to ensure that the patch is not corrupted. |
Fairly easy to figure out, since you didn't get any .rej files the patch worked. |
|
| Back to top |
|
 |
ztian299 Halfop
Joined: 19 Apr 2008 Posts: 59 Location: *.no
|
Posted: Tue Apr 22, 2008 12:15 pm Post subject: |
|
|
You could try use
| Code: |
patch -p0 < ../path.to.the/patch
|
|
|
| Back to top |
|
 |
DragnLord Owner

Joined: 24 Jan 2004 Posts: 711 Location: C'ville, Virginia, USA
|
Posted: Wed Apr 23, 2008 12:24 am Post subject: |
|
|
| You also have to recompile after patching....... |
|
| Back to top |
|
 |
Mogour Voice
Joined: 10 Feb 2008 Posts: 17
|
Posted: Wed Apr 23, 2008 8:41 am Post subject: Re: Patching eggdrop |
|
|
Hmm oki, it worked now.
One last question:
Can I rename the folder eggdrop1.6.18 to eggdrop1.6.19 or will this cause any problems? |
|
| Back to top |
|
 |
DragnLord Owner

Joined: 24 Jan 2004 Posts: 711 Location: C'ville, Virginia, USA
|
Posted: Wed Apr 23, 2008 10:12 am Post subject: Re: Patching eggdrop |
|
|
| Mogour wrote: |
Can I rename the folder eggdrop1.6.18 to eggdrop1.6.19 or will this cause any problems? |
mv eggdrop1.6.18 eggdrop1.6.19 |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Wed Apr 23, 2008 2:31 pm Post subject: |
|
|
It should cause any problems, however it might cause some problems if you have scripts in which you have the directory set as a path (for example: set pathtofile "~/eggdrop1.6.18/path"). In case you have, you must update the paths. _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
|