luci.mk: Only install a default post-install script if there is none defined
authorFlorian Eckert <fe@dev.tdt.de>
Fri, 21 Feb 2020 08:25:00 +0000 (09:25 +0100)
committerFlorian Eckert <fe@dev.tdt.de>
Thu, 27 Feb 2020 14:50:46 +0000 (15:50 +0100)
commitb448008b4744a29ad23812ba37c3ec908d7134d9
tree24ba72a0dc59c688882cafcf0ad60a5d89dfd144
parent151787b561bce39f505d0f5753d0f80d2b796ba3
luci.mk: Only install a default post-install script if there is none defined

If a postinst script is defined in the package Makefile, it will
not be included because it will be replaced by the default postinst
script. To solve the problem, we now check, if we have a postinst script.
And if so, it will be installed instead of the default postinst script.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
luci.mk