Archived
Debian support
This commit is contained in:
1 parent
b75868e883
commit
9207d6af3f
2 files changed
+2
-2
No files matched your search
@@ -11,7 +11,7 @@ elif [ -f /etc/lsb-release ]; then
|
||||
DISTVER=${DISTRIB_RELEASE}
|
||||
elif [ -f /etc/debian_version ]; then
|
||||
DISTNAME=debian
|
||||
DISTVER=$(head -1 /etc/debian_version)
|
||||
DISTVER=$(head -1 /etc/debian_version|awk -F. '{print $1}')
|
||||
fi
|
||||
|
||||
echo ${DISTNAME}${DISTVER}
|
||||
Reference in new issue
Block a user