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

Re: Can we have a /etc/debian in base?

Kai Henningsen writes ("Re: Can we have a /etc/debian in base?"):
> Umm ... _can_ any of these things be used to differentiate between a  
> Debian system and, say, a Red Hat system that only has dpkg installed so  
> it can use some Debian packages?

What are you trying to test for ?  The existence of dpkg ?  Easy.
Whether all the packages in /usr (say) were installed by dpkg ?
Impossible.  Some other thing ?  Test for it directly, perhaps, or
look for /etc/debian_version.


Reply to: