diff options
| author | Natanael Copa <ncopa@alpinelinux.org> | 2019-05-03 18:35:44 +0200 |
|---|---|---|
| committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-05-03 18:35:44 +0200 |
| commit | 1de902f2fa2344e9b1b05c6c1fc3766a41bd7dd0 (patch) | |
| tree | d1f7cf04cb7fc4f5072bd47dc2c44a2b96954492 | |
| parent | f263cb9f49f3861f3141c22a74360b06cec7b868 (diff) | |
| download | abuild-1de902f2fa2344e9b1b05c6c1fc3766a41bd7dd0.tar.bz2 abuild-1de902f2fa2344e9b1b05c6c1fc3766a41bd7dd0.tar.xz | |
abuild: fix -openrc to work with multiple subpackages
allow a single APKBUILD have multiple -openrc subpackages.
| -rw-r--r-- | abuild.in | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1788,7 +1788,7 @@ libs() { default_openrc() { depends="$depends_openrc" pkgdesc="$pkgdesc (OpenRC init scripts)" - install_if="openrc $pkgname=$pkgver-r$pkgrel" + install_if="openrc ${subpkgname%-openrc}=$pkgver-r$pkgrel" local dir file for dir in conf.d init.d; do if [ -d "$pkgdir/etc/$dir" ]; then |
