[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: What to do about /etc/debian_version



Santiago Vila writes:

> something other than "2.2" or "testing/unstable" could potentially
> break any script or program which expects /etc/debian_version to be
> either "2.2" or "testing/unstable" (since this is what base-files provides).
> In this case not only there is no benefit from changing the file but
> it could be even harmful.
> 
> So: Is there a *technical* reason to change /etc/debian_version other
> than it being just "nicer"?

This information could instead be stored in /etc/lsb-release. One of
the reasons for the creation of this file was to standardise across
the distributions the name and format of the file which contains this
type of information.

Chris.
-- 
cyeoh@linuxcare.com.au
Support Open Source Ice-Cream



Reply to: