You are not logged in.

#1 2008-03-11 11:59:14

niller
Member
From: Denmark
Registered: 2008-02-12
Posts: 91

Tool for merging pacnew files ??

Hi all,

Is there a program available that are able to merge a .pacnew file with the existing files, instead of doing this manually ??

Maybe vim can do this but I am not sure ??

It would be nice to do this quickly to save time !!

Last edited by niller (2008-03-11 12:02:08)


/Niels
Registered Linux user #133791
Get counted at http://counter.li.org

Offline

#2 2008-03-11 13:26:20

fwojciec
Member
Registered: 2007-05-20
Posts: 1,411

Re: Tool for merging pacnew files ??

Yaourt, for example, comes with a script called pacdiffviewer which can be used for that.

Offline

#3 2008-03-11 13:52:52

tom5760
Member
From: Philadelphia, PA, USA
Registered: 2006-02-05
Posts: 282
Website

Re: Tool for merging pacnew files ??

niller wrote:

Maybe vim can do this but I am not sure ??

Yup, try this from a terminal:

$ vimdiff /etc/conf /etc/conf.pacnew

big_smile

Last edited by tom5760 (2008-03-11 13:53:21)

Offline

#4 2008-03-11 13:55:12

Allan
Developer
From: Brisbane, AU
Registered: 2007-06-09
Posts: 9,939
Website

Re: Tool for merging pacnew files ??

Have a look at pacdiff in the pacman-contrib package in community. If you think it can be improved feel free to submit a patch to the pacman-dev mailing list big_smile

Offline

#5 2008-03-11 16:22:35

niller
Member
From: Denmark
Registered: 2008-02-12
Posts: 91

Re: Tool for merging pacnew files ??

Thanks a million !! big_smile


/Niels
Registered Linux user #133791
Get counted at http://counter.li.org

Offline

Board footer

Powered by FluxBB