1 |
On 10/16/06, Walter Dnes <waltdnes@××××××××.org> wrote: |
2 |
> long will it take me to realize what's happened? What I'm asking for is |
3 |
> a way to pre-emptively tell etc-update not to bother me about certain |
4 |
> files. Zap the new version and keep the old. |
5 |
|
6 |
cat > my_etcupdate.sh <<EOF |
7 |
#!/bin/bash |
8 |
|
9 |
EXCLUDE_FILES="/etc/conf.d/local.start |
10 |
/etc/conf.d/local.stop |
11 |
/etc/rc.conf |
12 |
" |
13 |
|
14 |
for f in $EXCLUDE_FILES; do |
15 |
dn=`dirname $f` |
16 |
bn=`basename $f` |
17 |
rm -i "${dn}/._cfg[0-9][0-9][0-9][0-9]_${bn}" |
18 |
done |
19 |
|
20 |
etc-update |
21 |
EOF |
22 |
|
23 |
Then just add whatever files are bothing you to EXCLUDE_FILES, and run |
24 |
my_etcupdate.sh instead of etc-update. |
25 |
|
26 |
Or as Bo suggested, create scripts on a per-package basis in |
27 |
/etc/portage/env/cat-egory/package to remove the new configs after the |
28 |
packages are merged. |
29 |
|
30 |
-Richard |
31 |
-- |
32 |
gentoo-user@g.o mailing list |