Enabled support for debian 10

This commit is contained in:
Dominique Roux 2020-02-26 11:36:26 +01:00
parent 711817f2a6
commit 9f2fb22ae9

View file

@ -9,15 +9,15 @@ case "$os" in
;; ;;
debian) debian)
case "$os_version" in case "$os_version" in
[1-7]*) [2-7]*)
restart="/etc/init.d/nginx restart" restart="/etc/init.d/nginx restart"
echo "Unsupported version $os_version of $os." >&2 echo "Unsupported version $os_version of $os." >&2
exit 1 exit 1
;; ;;
8*) [8-9]*)
restart="systemctl restart nginx" restart="systemctl restart nginx"
;; ;;
9*) 10*)
restart="systemctl restart nginx" restart="systemctl restart nginx"
;; ;;
*) *)