On 10/16/06, Walter Dnes <[EMAIL PROTECTED]> wrote:
long will it take me to realize what's happened? What I'm asking for is a way to pre-emptively tell etc-update not to bother me about certain files. Zap the new version and keep the old.
cat > my_etcupdate.sh <<EOF #!/bin/bash EXCLUDE_FILES="/etc/conf.d/local.start /etc/conf.d/local.stop /etc/rc.conf " for f in $EXCLUDE_FILES; do dn=`dirname $f` bn=`basename $f` rm -i "${dn}/._cfg[0-9][0-9][0-9][0-9]_${bn}" done etc-update EOF Then just add whatever files are bothing you to EXCLUDE_FILES, and run my_etcupdate.sh instead of etc-update. Or as Bo suggested, create scripts on a per-package basis in /etc/portage/env/cat-egory/package to remove the new configs after the packages are merged. -Richard -- gentoo-user@gentoo.org mailing list