consider de(bi|vu)an version

This commit is contained in:
kamila 2017-06-09 18:40:47 +02:00
parent ba933f1470
commit 4c7327e814

View file

@ -1,7 +1,10 @@
os=$(cat $__global/explorer/os)
os_version=$(cat $__global/explorer/os_version)
case $os in
debian|devuan)
case $os_version in
8*|jessie)
__apt_key_uri grafana \
--name 'Grafana Release Signing Key' \
--uri https://packagecloud.io/gpg.key
@ -16,6 +19,12 @@ case $os in
require="__apt_source/grafana __package/apt-transport-https" __package grafana
require="__package/grafana" __start_on_boot grafana-server
;;
*)
echo "Don't know how to install Grafana on $os $os_version. Send us a pull request!"
exit 1
;;
esac
;;
*)
echo "Don't know how to install Grafana on $os. Send us a pull request!"
exit 1