diff options
author | Erich Eckner <git@eckner.net> | 2020-07-29 08:50:56 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-07-29 08:50:56 +0200 |
commit | 2112433c1aa1fec1a38ec3827e0ec1bd56064da4 (patch) | |
tree | 74067f42d93661daf2b0fcb7516fb2228b3910f6 | |
parent | bca78e4e81979fd6c880f12f9f6310eb8f5a1bfc (diff) | |
download | archlinuxewe-2112433c1aa1fec1a38ec3827e0ec1bd56064da4.tar.xz |
acme2certifier: add install script for running db_update.py
-rw-r--r-- | acme2certifier/PKGBUILD | 3 | ||||
-rw-r--r-- | acme2certifier/acme2certifier.install | 6 |
2 files changed, 8 insertions, 1 deletions
diff --git a/acme2certifier/PKGBUILD b/acme2certifier/PKGBUILD index c8f6e809d..309a6325f 100644 --- a/acme2certifier/PKGBUILD +++ b/acme2certifier/PKGBUILD @@ -3,7 +3,7 @@ pkgname=acme2certifier pkgver=0.11.r55.g7da6157 _commit="${pkgver##*.g}" -pkgrel=1 +pkgrel=2 pkgdesc='experimental acme server written in python' arch=('any') url='https://github.com/grindsa/acme2certifier' @@ -28,6 +28,7 @@ source=( sha512sums=('SKIP' '6700736f127297293067930e92b711c579d800c684b587ca2c5cbc2430dee241500932b57398d87a4dbf4111483bf0942814a06587bbe2a77958c9da18a18e63' '3ed87346bf0776f50e452b1928c8f24db5498a5af1010042e9680ca136242f49e78d30ebca5e4328f485d1c051ab51f859a1ae2f936e0c6eb5b1cde700b3b201') +install="${pkgname}.install" pkgver() { for _trial in 'origin/devel' 'devel'; do diff --git a/acme2certifier/acme2certifier.install b/acme2certifier/acme2certifier.install new file mode 100644 index 000000000..cf9e449de --- /dev/null +++ b/acme2certifier/acme2certifier.install @@ -0,0 +1,6 @@ +post_upgrade() { + su http -s /bin/sh -c ' + cd /var/lib/acme2certifier/tools + python db_update.py + ' +} |