luci-app-package-manager: Fix upgrade action for apk
authorHannu Nyman <hannu.nyman@iki.fi>
Sat, 2 Nov 2024 16:27:05 +0000 (18:27 +0200)
committerHannu Nyman <hannu.nyman@iki.fi>
Sun, 3 Nov 2024 13:56:03 +0000 (15:56 +0200)
commit5c27cf3671d298290a0e6a27936250e971eeb650
treec4595f5557a0f7ea172e3cbcc3182f843e07ff67
parent22971a5bf82e2913c002b48fd5195792d460af73
luci-app-package-manager: Fix upgrade action for apk

Fix upgrade action for apk by passing an attribute to
differentiate between install and upgrade actions.
Adjust acl accordingly.

Remove extra whitespace.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
applications/luci-app-package-manager/htdocs/luci-static/resources/view/package-manager.js
applications/luci-app-package-manager/root/usr/share/rpcd/acl.d/luci-app-package-manager.json