comparing a possibly altered file with the original
Rainer Müller
raimue at macports.org
Wed Feb 18 13:35:31 PST 2009
David Epstein wrote:
> What is the simplest way to compare the version of the file that I now have
> in /opt/local with the version of the file that I originally downloaded on
> installation? I want a method that is safe, with no danger of overwriting my
> current setup.
Since on activation the file is hardlinked from the image to the
location in prefix, you also changed the one in the image. There is no
way to get the original back except rebuilding the port.
Run a 'port destroot <portname>' and then compare the file in
$(port work <portname>)/work/destroot/ with the one in prefix.
Rainer
More information about the macports-users
mailing list