diff options
author | Drew DeVault <sir@cmpwn.com> | 2020-01-04 19:59:03 -0500 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2020-01-05 22:58:49 +0100 |
commit | eac412ec92658408ad202c995e74d5ebe38c9164 (patch) | |
tree | 6ae95a8851b0f3b998cdaa8b72da88e73a6fe51b | |
parent | d0a62fa9ebd3260e9d69dd1cc4d512681cfc6a7b (diff) | |
download | aports-eac412ec92658408ad202c995e74d5ebe38c9164.tar.bz2 aports-eac412ec92658408ad202c995e74d5ebe38c9164.tar.xz |
community/prometheus: adding missing web templates
Been working on migrating my monitoring infrastructure to the community
package and found this oversight.
-rw-r--r-- | community/prometheus/APKBUILD | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/community/prometheus/APKBUILD b/community/prometheus/APKBUILD index 8a83fe83aa..e5594d6942 100644 --- a/community/prometheus/APKBUILD +++ b/community/prometheus/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Drew DeVault <sir@cmpwn.com> pkgname=prometheus pkgver=2.15.1 -pkgrel=2 +pkgrel=3 pkgdesc="The Prometheus monitoring system and time series database" url="https://github.com/prometheus/prometheus" arch="all" @@ -56,6 +56,18 @@ package() { install -Dm644 -t "$pkgdir"/etc/prometheus \ documentation/examples/prometheus.yml + + mkdir -p "$pkgdir"/etc/prometheus/console_libraries + for file in console_libraries/* + do + install -Dm644 -t "$pkgdir"/etc/prometheus/console_libraries/ "$file" + done + + mkdir -p "$pkgdir"/etc/prometheus/consoles + for file in consoles/* + do + install -Dm644 -t "$pkgdir"/etc/prometheus/consoles/ "$file" + done } sha512sums="b08dfa48bddb6e007cd0fd4553847e824d6adfc047d97151b8dd12dbd1f67cfb9301824b320f1cabe9644159e6968b3fd2ee8104a5d53822a9965423c4bb47b5 prometheus-2.15.1.tar.gz |