|
|
|
@ -8,10 +8,12 @@ case $os in |
|
|
|
|
debian|devuan) |
|
|
|
|
case $os_version in |
|
|
|
|
8*|jessie) |
|
|
|
|
apt_source_distribution=jessie |
|
|
|
|
# Differntation not needed anymore |
|
|
|
|
apt_source_distribution=stable |
|
|
|
|
;; |
|
|
|
|
9*|ascii/ceres|ascii) |
|
|
|
|
apt_source_distribution=stretch |
|
|
|
|
# Differntation not needed anymore |
|
|
|
|
apt_source_distribution=stable |
|
|
|
|
;; |
|
|
|
|
*) |
|
|
|
|
echo "Don't know how to install Grafana on $os $os_version. Send us a pull request!" >&2 |
|
|
|
@ -21,10 +23,10 @@ case $os in |
|
|
|
|
|
|
|
|
|
__apt_key_uri grafana \ |
|
|
|
|
--name 'Grafana Release Signing Key' \ |
|
|
|
|
--uri https://packagecloud.io/gpg.key |
|
|
|
|
--uri https://packages.grafana.com/gpg.key |
|
|
|
|
|
|
|
|
|
require="$require __apt_key_uri/grafana" __apt_source grafana \ |
|
|
|
|
--uri https://packagecloud.io/grafana/stable/debian/ \ |
|
|
|
|
--uri https://packages.grafana.com/oss/deb \ |
|
|
|
|
--distribution $apt_source_distribution \ |
|
|
|
|
--component main |
|
|
|
|
|
|
|
|
|