Fri, Dec 06, 2002 at 11:03:54AM -0500 skrev Derrick 'dman' Hudson: [Branden, I'm CC-ing as not to have to send you a separate mail]
> > I think I read somewhere that instead of a single file a directory > containing files named for the program could be used. However, that > didn't seem to work when I tried it. Does anyone have any pointers to > docs on this? (I like the directory idea -- easier to manage) > As of unstable this is not possible (or is so in a way that I missed). I have a patch which I meant to send to Branden but haven't gotten around to. I don't think that it will cause any ill effects but of course Branden will be the judge of whether it goes in or not. Have fun! /Anton -- Is fire supposed to shoot out of it like that?
--- 30xfree86-common_xresources.orig 2002-11-14 14:15:36.000000000 +0100 +++ 30xfree86-common_xresources 2002-11-14 14:20:50.000000000 +0100 @@ -9,7 +9,14 @@ fi if grep -qs ^allow-user-resources "$OPTIONFILE"; then - if [ -f "$USRRESOURCES" ]; then + if [ -d "$USRRESOURCES" ]; then + RESOURCEFILES=$(run_parts $USRRESOURCES) + if [ -n "$RESOURCEFILES" ]; then + for RESOURCEFILE in $RESOURCEFILES; do + xrdb -merge $RESOURCEFILE + done + fi + elif [ -f "$USRRESOURCES" ]; then xrdb -merge $USRRESOURCES fi fi