Skip to content

Commit

Permalink
Modify is_debian_10 function.
Browse files Browse the repository at this point in the history
  • Loading branch information
Samson-W committed Jul 7, 2019
1 parent ac602f7 commit 08e2cf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 08e2cf2

Please sign in to comment.