summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-package-manager/root/usr/share
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2024-11-02 18:27:05 +0200
committerHannu Nyman <hannu.nyman@iki.fi>2024-11-03 15:56:03 +0200
commit5c27cf3671d298290a0e6a27936250e971eeb650 (patch)
treec4595f5557a0f7ea172e3cbcc3182f843e07ff67 /applications/luci-app-package-manager/root/usr/share
parent22971a5bf82e2913c002b48fd5195792d460af73 (diff)
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>
Diffstat (limited to 'applications/luci-app-package-manager/root/usr/share')
-rw-r--r--applications/luci-app-package-manager/root/usr/share/rpcd/acl.d/luci-app-package-manager.json2
1 files changed, 2 insertions, 0 deletions
diff --git a/applications/luci-app-package-manager/root/usr/share/rpcd/acl.d/luci-app-package-manager.json b/applications/luci-app-package-manager/root/usr/share/rpcd/acl.d/luci-app-package-manager.json
index 97150058cc..e421238959 100644
--- a/applications/luci-app-package-manager/root/usr/share/rpcd/acl.d/luci-app-package-manager.json
+++ b/applications/luci-app-package-manager/root/usr/share/rpcd/acl.d/luci-app-package-manager.json
@@ -20,6 +20,8 @@
"/usr/libexec/package-manager-call install *": [ "exec" ],
"/usr/libexec/package-manager-call remove *": [ "exec" ],
"/usr/libexec/package-manager-call update": [ "exec" ],
+ "/usr/libexec/package-manager-call upgrade": [ "exec" ],
+ "/usr/libexec/package-manager-call upgrade *": [ "exec" ],
"/etc/opkg.conf": [ "write" ],
"/etc/opkg/*.conf": [ "write" ],
"/etc/apk/repositories": [ "write" ],