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

Re: What to do about /etc/debian_version



How about creating a directory called "/etc/organizations" including the
following files:

/etc/organizations/debian-unstable
Contains the text "Debian Unstable http://www.debian.org";
Found in perhaps the unstable version of base files package.

/etc/organizations/helixgnome
Contains the text "Helix Gnome version X.Y http://whatever";
found in helix's gnome-base package

/etc/organizations/TYDC-KDE
Contains the text "TYDC KDE http://whatever";
found in the kdebase package.

/etc/organizations/corel
contains the text "Corel (tm) ver X.Y http://www.corel.com";
found in corel's base-files

Then to see what you've got installed at boot up and at on the login
screen,

echo This Debian based system contains components from the following
organizations:
cat /etc/organizations/*
echo Please contact the appropriate organization with trouble reports.



                                                                                                                    
                    The Doctor                                                                                      
                    What                 To:     debian-devel@lists.debian.org                                      
                    <docwhat@gerf        cc:     (bcc: Vince Mulhollon/Brookfield/Norlight)                         
                    .org>                Fax to:                                                                    
                                         Subject:     Re: What to do about /etc/debian_version                      
                    01/05/2001                                                                                      
                    09:14 AM                                                                                        
                                                                                                                    
                                                                                                                    




* Bart Schuller (schuller@lunatech.com) [010105 07:48]:
> I've seen third-party software install scripts use the file to determine
> which Linux distribution it's running on.

Yes, I think it's important to have one central file that can show
(roughly) which version of the OS is running.  Being human and
machine parsable.

3rd party software uses it, users like to know it, etc.

However, it's going to be much more confusing as you get the ability
to pull in peices from different places (via apt, package pools,
etc.).

Is a system that pulls in woody plus helix *still* a woody system?
Or is something else?

Maybe apt/dpkg are the only things that can acurrately tell us what
the system is.

I suspect this is a policy desicion more than anything, though.

Ciao!

--
"No one will ever win the battle of the sexes; there's too much
fraternizing with the enemy.."
           -- Henry Kissinger

The Doctor What: "What, Doctor What"             http://docwhat.gerf.org/
docwhat@gerf.org                                                   KF6VNC


--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org







Reply to: