mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-20 09:47:51 +02:00
Use /etc/debian_version to distinguish Debian-based systems
This commit is contained in:
parent
58ef1d3b63
commit
445527d27e
@ -176,7 +176,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z "$CYGWIN" ]; then
|
if [ -z "$CYGWIN" ]; then
|
||||||
if [ -d /etc/apt -a -e /usr/bin/dpkg ]; then
|
if [ -f /etc/debian_version ]; then
|
||||||
DEBIAN=yes
|
DEBIAN=yes
|
||||||
elif [ -f /etc/slackware-version ] ; then
|
elif [ -f /etc/slackware-version ] ; then
|
||||||
echo "installing Slackware specific configuration..."
|
echo "installing Slackware specific configuration..."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user