policycoreutils: fix ALTERNATIVES install location

Fixes: 7817c831ef ("policycoreutils: break into smaller packages")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
Daniel Golle 2020-09-21 18:51:37 +01:00
parent 7817c831ef
commit 236e79abb7

View File

@ -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)))