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

Re: Tell Ubuntu and Debian apart in a shell script ...



Debian vs Ubuntu is not the same as Debian vs say RedHat. Sometimes
it's hard to tell them apart even by hand because you can easily mix
deb packages between them if you want. It can be Debian with package X
from Ubuntu. Or it can be Knoppix dist-upgraded to Debian. Generally I
think it's a good idea to check for some specific functionality you
need in your script rather than rely a on distribution name from some
file in /etc.
Or you need that just for nice output/logging?


Reply to: