From 08e2cf2867a41b1565bb4ff6bb91fdefb0507cd2 Mon Sep 17 00:00:00 2001 From: Samson-W Date: Sun, 7 Jul 2019 17:16:27 +0800 Subject: [PATCH] Modify is_debian_10 function. --- lib/utils.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils.sh b/lib/utils.sh index 52870c9..3dbddc7 100644 --- a/lib/utils.sh +++ b/lib/utils.sh @@ -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