On Wed, Jul 29, 2009 at 8:37 AM, Carlos Williams<carlosw...@gmail.com> wrote:
> On Tue, Jul 28, 2009 at 6:29 PM, Aaron Wolfe<aawo...@gmail.com> wrote:
>> 50-user gets read *after* 20-debian_defaults.  It's there specifically
>> so you can override any defaults set in the other files.  Totally
>> normal to have the same setting in more than one place, last one read wins.
>>
>> This is because as you use APT to update your system, the
>> 20-debian-defaults file will be overwritten if the debian maintainers
>> decide to change the defaults. Your user file will always take
>> precedence over anything they do, and will never be overwritten.
>> Lots of things in debian work this way, there will usually be a place
>> for you to put your own preferences that will never be
>> touched by debian, and a seperate place for debian to keep it's settings.
>
> Thanks. That makes sense. I just was not sure if '50-user' was read
> last, does that mean that parameters of '20-debian_defaults' are not
> used at all if they're not present in '50-user'? I am not sure if this
> is a "all or nothing" type of configuration. I have a few lines of
> config in '50-user' which I know are used but does it also use any
> configuration that may be missing from '50-user' that it found in
> '20-debian_defaults' before hand? Just trying to see if I should move
> specific config lines to '50-user' or if it's fine the way it is.
>

You're making this too complicated.  Just think of each configuration
parameter as a variable, like in a programming language.
You can set it's value as many times as you want, but reading it
always returns the value it was most recently set to.
All settings in all files are read in alpha order, and if a value is
set more than once, no problem.
It will contain the most recent setting.


> Thanks again for you help!
>
> - Carlos
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> AMaViS-user mailing list
> AMaViS-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/amavis-user
>  AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
>  AMaViS-HowTos:http://www.amavis.org/howto/

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/amavis-user 
 AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 
 AMaViS-HowTos:http://www.amavis.org/howto/ 

Reply via email to