diff options
author | Joan Bruguera | 2021-01-06 17:03:33 +0100 |
---|---|---|
committer | Joan Bruguera | 2021-01-06 17:03:51 +0100 |
commit | 9e5949303b40e13dac7f34b26fe6294f06491b7c (patch) | |
tree | 282e501259c0f35392269815e5c4d64f99e91e0c | |
parent | e31766a667e0241c5b450c7e0e549535d4de88e1 (diff) | |
download | aur-9e5949303b40e13dac7f34b26fe6294f06491b7c.tar.gz |
Improvement: Warn about analytics collection.
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 3 | ||||
-rwxr-xr-x | install.sh | 11 |
3 files changed, 15 insertions, 2 deletions
@@ -1,8 +1,9 @@ pkgbase = deck pkgdesc = decK: Configuration management and drift detection for Kong and Kong Enterprise pkgver = 1.2.3 - pkgrel = 2 + pkgrel = 3 url = https://github.com/Kong/deck + install = install.sh arch = x86_64 license = Apache makedepends = go @@ -1,7 +1,7 @@ # Maintainer: Joan Bruguera Micó <joanbrugueram@gmail.com> pkgname=deck pkgver=1.2.3 -pkgrel=2 +pkgrel=3 pkgdesc='decK: Configuration management and drift detection for Kong and Kong Enterprise' arch=('x86_64') url="https://github.com/Kong/$pkgname" @@ -9,6 +9,7 @@ license=('Apache') makedepends=('go') source=("$pkgname-$pkgver.tar.gz::https://github.com/Kong/$pkgname/archive/v$pkgver.tar.gz") sha256sums=('7ee8428819a31f02d89db414c3dc7c3646ecb1dee2bda9838d88ad6e97de8632') +install=install.sh prepare(){ cd "$pkgname-$pkgver" diff --git a/install.sh b/install.sh new file mode 100755 index 000000000000..3794e709bd09 --- /dev/null +++ b/install.sh @@ -0,0 +1,11 @@ +#!/usr/bin/env sh + +post_install() { + echo "! decK collects anonymized analytics by default" + echo "! It can be disabled by setting the environment variable DECK_ANALYTICS to off" + echo "! For more information, see https://docs.konghq.com/deck/commands/" +} + +post_upgrade() { + post_install +} |