luci.mk: refactor install recipe
Detect the presence of directories using Make $(wildcard ...) and emit
plain install commands depending on the outcome instead of relying on
shell conditionals which impose syntax constraints on code outside of
the scope of the LuCI repo.
Fixes: #5936
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
parent
25f75e08
Please register or sign in to comment