luci-app-package-manager: fix 'Update lists' button for apk
authorHannu Nyman <hannu.nyman@iki.fi>
Sat, 2 Nov 2024 11:46:14 +0000 (13:46 +0200)
committerHannu Nyman <hannu.nyman@iki.fi>
Sat, 2 Nov 2024 11:50:38 +0000 (13:50 +0200)
commit22971a5bf82e2913c002b48fd5195792d460af73
tree51e674c3d2669663591d591d503c46ff2d8d4db4
parent91481d83fbb95c8e39e9eaafb9cb60fe8356871d
luci-app-package-manager: fix 'Update lists' button for apk

Fix the button "Update lists..." to actually update package lists
instead of trying to upgrade all packages when using apk.
(No change for opkg.)

Note: the package upgrade button remains inactive with apk. It still
launches 'apk install' command, which does not work for upgrade.

Also remove whitespace from line end.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
applications/luci-app-package-manager/root/usr/libexec/package-manager-call