aboutsummaryrefslogtreecommitdiffstats
path: root/package/utils/policycoreutils
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2020-09-21 18:51:37 +0100
committerDaniel Golle <daniel@makrotopia.org>2020-09-21 18:58:14 +0100
commit236e79abb72e22c6e87110a7b0e5288cf3b48efa (patch)
tree4cf69250365a6bb5eee36ccfcb7ca4e0b5dfa1a8 /package/utils/policycoreutils
parent7817c831ef8aba187b7a824166378f6d9d6c1ab1 (diff)
downloadupstream-236e79abb72e22c6e87110a7b0e5288cf3b48efa.tar.gz
upstream-236e79abb72e22c6e87110a7b0e5288cf3b48efa.tar.bz2
upstream-236e79abb72e22c6e87110a7b0e5288cf3b48efa.zip
policycoreutils: fix ALTERNATIVES install location
Fixes: 7817c831ef ("policycoreutils: break into smaller packages") Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'package/utils/policycoreutils')
-rw-r--r--package/utils/policycoreutils/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/utils/policycoreutils/Makefile b/package/utils/policycoreutils/Makefile
index 3fd0e39081..03b3fd4879 100644
--- a/package/utils/policycoreutils/Makefile
+++ b/package/utils/policycoreutils/Makefile
@@ -135,7 +135,7 @@ endef
define BuildUtil
define Package/$(1)/install
$(INSTALL_DIR) $$(1)$(2)
- $(INSTALL_BIN) $$(PKG_INSTALL_DIR)$(2)/$(3) $$(1)$(2)
+ $(INSTALL_BIN) $$(PKG_INSTALL_DIR)$(2)/$(3) $$(1)$(2)/$(if $(ALTS_$(3)),policycoreutils-$(3),$(3))
endef
$$(eval $$(call BuildPackage,$(1)))