aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2021-02-18 14:31:39 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2021-02-18 14:34:08 +0000
commit4ad739e4e762aafc5541c5fab89eb65c8b2ba62d (patch)
treeab5e051730ba31230c89a08b19c518d369171007
parent244217c0e54d14a24254f433c2943cfbde36f7be (diff)
downloadaports-4ad739e4e762aafc5541c5fab89eb65c8b2ba62d.tar.gz
aports-4ad739e4e762aafc5541c5fab89eb65c8b2ba62d.tar.bz2
aports-4ad739e4e762aafc5541c5fab89eb65c8b2ba62d.tar.xz
main/bacula: bacula-client should ship also bacula-client-openrc
-rw-r--r--main/bacula/APKBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/bacula/APKBUILD b/main/bacula/APKBUILD
index 0369c90d88..d19ece0448 100644
--- a/main/bacula/APKBUILD
+++ b/main/bacula/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=bacula
pkgver=9.6.7
-pkgrel=0
+pkgrel=1
pkgdesc="Enterprise ready, network based backup program"
url="https://www.bacula.org"
arch="all"
@@ -159,6 +159,7 @@ libs() {
client_openrc() {
pkgdesc="Bacula client init script"
+ install_if="openrc $pkgname-client=$pkgver-r$pkgrel"
install -D -m755 "$pkgdir"/etc/init.d/$pkgname-fd \
"$subpkgdir"/etc/init.d/$pkgname-fd
}