etc-update: handle symlinked files
authorMike Frysinger <vapier@gentoo.org>
Sun, 11 Mar 2012 03:57:43 +0000 (22:57 -0500)
committerMike Frysinger <vapier@gentoo.org>
Sun, 11 Mar 2012 03:57:43 +0000 (22:57 -0500)
commit157c9c0de811b64326ebf09cc95a59b34cbc0547
tree34dd258b9a3dacc86b45fce87cec8b2546438aa1
parenta78ec9a7e6b4a0dd6e565913db35e436f67553ff
etc-update: handle symlinked files

If the config file is symlinked somewhere, then update the target rather
then discarding the symlink and replacing it with a real file.

URL: http://bugs.gentoo.org/330221
Reported-by: Jack Byer <ftn768@gmail.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
bin/etc-update