From 40e6e9995bfe29918fb36eb53f58afab0ab51927 Mon Sep 17 00:00:00 2001 From: Keith Maxwell Date: Wed, 15 May 2019 23:31:44 +0100 Subject: APKBUILD.5: match install_if example to abuild.in This change makes the example in the description of install_if in the APKBUILD man page match abuild.in:1791. --- APKBUILD.5 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/APKBUILD.5 b/APKBUILD.5 index d483355..fe0f833 100644 --- a/APKBUILD.5 +++ b/APKBUILD.5 @@ -158,9 +158,9 @@ should automatically install the package (or subpackage). For instance, the OpenRC subpackages set .Cm install_if to -.Li $pkgname=$pkgver openrc -which means that the OpenRC subpackage will be automatically installed if the -origin package and OpenRC are both installed on the same computer. +.Li openrc ${subpkgname%-openrc}=$pkgver-r$pkgrel +which means that the OpenRC subpackage will be automatically installed if +both OpenRC and the origin package are installed on the same computer. .It Cm makedepends Specifies build dependencies for the package. .It Cm pkggroups -- cgit v1.2.3-60-g2f50