This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Patching eggdrop

General support and discussion of Eggdrop bots.
Post Reply
M
Mogour
Voice
Posts: 17
Joined: Sun Feb 10, 2008 12:58 pm

Patching eggdrop

Post by Mogour »

I tried to patch the eggdrop to the new version (from 1.6.18. to 1.6.19)

I downloaded the patch and made:

patch -p1 < ../path.to.the/patch
But if I do this:
Once this is complete, execute the following command:

find . -name "*.rej" -print
I just get:
find: ./.maildir/.Junk: Permission denied
Any ideas?
User avatar
DragnLord
Owner
Posts: 711
Joined: Sat Jan 24, 2004 4:58 pm
Location: C'ville, Virginia, USA

Re: Patching eggdrop

Post by DragnLord »

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:

patch -p1 < ../path.to.the/patch
But if I do this:
Once this is complete, execute the following command:

find . -name "*.rej" -print
I just get:
find: ./.maildir/.Junk: Permission denied
Any ideas?
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.
z
ztian299
Halfop
Posts: 59
Joined: Sat Apr 19, 2008 4:57 pm
Location: *.no

Post by ztian299 »

You could try use

Code: Select all

patch -p0 < ../path.to.the/patch
User avatar
DragnLord
Owner
Posts: 711
Joined: Sat Jan 24, 2004 4:58 pm
Location: C'ville, Virginia, USA

Post by DragnLord »

You also have to recompile after patching.......
M
Mogour
Voice
Posts: 17
Joined: Sun Feb 10, 2008 12:58 pm

Re: Patching eggdrop

Post by Mogour »

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?
User avatar
DragnLord
Owner
Posts: 711
Joined: Sat Jan 24, 2004 4:58 pm
Location: C'ville, Virginia, USA

Re: Patching eggdrop

Post by DragnLord »

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
User avatar
Sir_Fz
Revered One
Posts: 3793
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

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.
Post Reply