Modify is_debian_10 function.

This commit is contained in:
Samson-W 2019-07-07 17:16:27 +08:00
parent ac602f7222
commit 08e2cf2867
1 changed files with 1 additions and 1 deletions

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