I just upgraded kdelibs from 3.5.8 to kdelibs-3.5.8-r1. For some reason - and this has been happening for a while - the package just overwrites /etc/env.d/45kdepaths-3.5. It wouldn't matter normally, but I'm using prelink - so I have removed the # from out-commented KDE_IS_PRELINKED=1 setting. CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" So I suppose that env.d is supposed to be overwritten without allowing you to manually patch it using dispatch-conf or etc-update...but is this really desired behavior? Not sure if this belongs to KDE team or not..
Remove it from CONFIG_PROTECT_MASK if you dislike this.
Fine. Just thought if that was really intended as a sane default.
Yes, /etc/env.d in CONFIG_PROTECT_MASK is intended, and reverse defaults would cause a lot more issues that you have. Note that it really doesn't matter where's the variable set, so if you create your own file in /etc/env.d and stick KDE_IS_PRELINKED=1 there, you can just forget about this.