Merge pull request #7 from hardenedlinux/harbian-audit-deepin

Modify is_debian_10 function.
This commit is contained in:
Samson.W 2019-07-07 17:22:50 +08:00 committed by GitHub
commit d2d92d1ed2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,7 +18,7 @@ is_debian_9()
is_debian_10()
{
if $(cat /etc/debian_version | grep -q "^buster"); then
if $(cat /etc/debian_version | grep -q "^10.[0-9]"); then
debug "Debian version is buster/10."
FNRET=0
else