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?
-- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/aanlktin3teqmozzrk6lql0rzan47bh=ak6j5+fmcs...@mail.gmail.com