diff options
author | Roberto Oliveira <robertoguimaraes8@gmail.com> | 2018-08-16 19:08:08 +0000 |
---|---|---|
committer | Roberto Oliveira <robertoguimaraes8@gmail.com> | 2018-08-16 19:08:08 +0000 |
commit | 1885641fbd8f78dda44900c23bb43da58564a50d (patch) | |
tree | 77aeeebe364d2e103b7273d8fae98d6f369ae0dc /community/dumb-init | |
parent | 8ae098dca7bff786f95f24629a5456292bc423ec (diff) | |
download | aports-1885641fbd8f78dda44900c23bb43da58564a50d.tar.bz2 aports-1885641fbd8f78dda44900c23bb43da58564a50d.tar.xz |
community/dumb-init: add simple check
Diffstat (limited to 'community/dumb-init')
-rw-r--r-- | community/dumb-init/APKBUILD | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/community/dumb-init/APKBUILD b/community/dumb-init/APKBUILD index ed861756bf..cf529af3fb 100644 --- a/community/dumb-init/APKBUILD +++ b/community/dumb-init/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Aaron Hurt <ahurt@ena.com> pkgname=dumb-init pkgver=1.2.2 -pkgrel=0 +pkgrel=1 pkgdesc="A minimal init system for Linux containers" url="https://github.com/Yelp/dumb-init" arch="all" @@ -17,6 +17,11 @@ build() { make } +check() { + cd "$builddir" + ./dumb-init --version > /dev/null +} + package() { cd "$builddir" install -sD -m 755 dumb-init "$pkgdir"/usr/bin/dumb-init |