Use /etc/debian_version to distinguish Debian-based systems

This commit is contained in:
Tom Eastep 2009-10-21 16:12:02 -07:00
parent 58ef1d3b63
commit 445527d27e

View File

@ -176,7 +176,7 @@ else
fi
if [ -z "$CYGWIN" ]; then
if [ -d /etc/apt -a -e /usr/bin/dpkg ]; then
if [ -f /etc/debian_version ]; then
DEBIAN=yes
elif [ -f /etc/slackware-version ] ; then
echo "installing Slackware specific configuration..."