From 9f2fb22ae90cd20a024c45be49545c810ff2cdcb Mon Sep 17 00:00:00 2001 From: Dominique Roux Date: Wed, 26 Feb 2020 11:36:26 +0100 Subject: [PATCH] Enabled support for debian 10 --- gencode-remote | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gencode-remote b/gencode-remote index 31aeb24..99f3736 100755 --- a/gencode-remote +++ b/gencode-remote @@ -9,15 +9,15 @@ case "$os" in ;; debian) case "$os_version" in - [1-7]*) + [2-7]*) restart="/etc/init.d/nginx restart" echo "Unsupported version $os_version of $os." >&2 exit 1 ;; - 8*) + [8-9]*) restart="systemctl restart nginx" ;; - 9*) + 10*) restart="systemctl restart nginx" ;; *)