base-files: correctly split install-key function for APK
authorPaul Spooren <mail@aparcar.org>
Fri, 17 May 2024 20:32:00 +0000 (23:32 +0300)
committerChristian Marangi <ansuelsmth@gmail.com>
Fri, 17 May 2024 20:34:23 +0000 (23:34 +0300)
commita96354bcfb0ad1c0deccbfdb3264c149447d474b
tree30868c03d2712fbcf0950281ef19f2fd3e478a03
parentb773ca1a966de99a43925bbaa2ac775536a7b112
base-files: correctly split install-key function for APK

The function incorrectly tried to APK keys even if there were none.
Correctly separate it into its own `ifdef` section.

Signed-off-by: Paul Spooren <mail@aparcar.org>
Link: https://github.com/openwrt/openwrt/pull/15519
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
package/base-files/Makefile