diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-04-25 08:28:10 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-04-25 08:28:10 +0000 |
commit | 9c7f7953dca42500c91cd7904fd872e007c69c48 (patch) | |
tree | a33ab071b47b8c109cf6c7815a49575fcec61b3b | |
parent | 30b01c8f5a91e076fcae13e72e95066eb2fee4ba (diff) | |
download | aports-9c7f7953dca42500c91cd7904fd872e007c69c48.tar.bz2 aports-9c7f7953dca42500c91cd7904fd872e007c69c48.tar.xz |
community/icingaweb2: added pre-install script which creates icingaweb2 group
-rw-r--r-- | community/icingaweb2/APKBUILD | 4 | ||||
-rwxr-xr-x[-rw-r--r--] | community/icingaweb2/icingaweb2.post-install | 0 | ||||
-rwxr-xr-x | community/icingaweb2/icingaweb2.pre-install | 3 |
3 files changed, 5 insertions, 2 deletions
diff --git a/community/icingaweb2/APKBUILD b/community/icingaweb2/APKBUILD index 4a8ce50420..24db0ca621 100644 --- a/community/icingaweb2/APKBUILD +++ b/community/icingaweb2/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=icingaweb2 pkgver=2.3.1 -pkgrel=2 +pkgrel=3 pkgdesc="Web Interface for Icinga2" url="http://www.icinga.org" arch="noarch" @@ -13,7 +13,7 @@ depends="icinga2 php php-gd php-ldap php-intl php-pgsql php-mysql depends_dev="" makedepends="$depends_dev" pkggroups="icingaweb2" -install="$pkgname.post-install" +install="$pkgname.pre-install $pkgname.post-install" subpackages="$pkgname-doc $pkgname-bash-completion:bashcomp" source="$pkgname-$pkgver.tar.gz::https://github.com/Icinga/${pkgname}/archive/v${pkgver}.tar.gz" diff --git a/community/icingaweb2/icingaweb2.post-install b/community/icingaweb2/icingaweb2.post-install index 425b0c05d2..425b0c05d2 100644..100755 --- a/community/icingaweb2/icingaweb2.post-install +++ b/community/icingaweb2/icingaweb2.post-install diff --git a/community/icingaweb2/icingaweb2.pre-install b/community/icingaweb2/icingaweb2.pre-install new file mode 100755 index 0000000000..2f5d83d203 --- /dev/null +++ b/community/icingaweb2/icingaweb2.pre-install @@ -0,0 +1,3 @@ +#!/bin/sh +addgroup -S icingaweb2 2>/dev/null +exit 0 |