etc-update: fix logic bug with protected files
authorMike Frysinger <vapier@gentoo.org>
Sun, 11 Mar 2012 19:39:50 +0000 (15:39 -0400)
committerMike Frysinger <vapier@gentoo.org>
Sun, 11 Mar 2012 19:41:42 +0000 (15:41 -0400)
commite9bb70344f93509e34ef117e14420a60fef5b83e
treed5e6542f2f99a7eff3eaf8dc0a25286672e9a588
parent157c9c0de811b64326ebf09cc95a59b34cbc0547
etc-update: fix logic bug with protected files

The rewrite introduced a slight bug with protected files.  Fix that,
and rework the code slightly to make it obvious that we want a diff
set of options for files and dirs.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
bin/etc-update