Commit 30208910 authored by Natanael Copa's avatar Natanael Copa
Browse files

abuild: add install_if for -doc packages

This lets users 'apk add docs' to always pull in -doc packages.
parent 05df0f6d
...@@ -1391,6 +1391,7 @@ default_doc() { ...@@ -1391,6 +1391,7 @@ default_doc() {
depends="$depends_doc" depends="$depends_doc"
pkgdesc="$pkgdesc (documentation)" pkgdesc="$pkgdesc (documentation)"
arch=${arch_doc:-"noarch"} arch=${arch_doc:-"noarch"}
install_if="docs $pkgname=$pkgver-r$pkgrel"
local i local i
for i in doc man info html sgml licenses gtk-doc ri help; do for i in doc man info html sgml licenses gtk-doc ri help; do
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment