Remove support for Debian 8, set nextcloud to new version

This commit is contained in:
Nico Schottelius 2020-09-21 09:08:07 +02:00
commit 61144bc2cd
3 changed files with 26 additions and 34 deletions

View file

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