luci-app-nut: update package-manager link
authorPaul Donald <newtwen+github@gmail.com>
Sun, 15 Dec 2024 19:13:50 +0000 (20:13 +0100)
committerPaul Donald <newtwen+github@gmail.com>
Sun, 15 Dec 2024 19:13:55 +0000 (20:13 +0100)
opkg is no longer available as the generic name for package-manager

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js

index 8f47277046297e4ea4447b8b5f97cb9dd00537dd..c8f9344da5a008e4d01bd820aeed344ed1ae01a6 100644 (file)
@@ -158,7 +158,7 @@ return view.extend({
                o.optional = true;
 
                o = s.option(form.ListValue, 'driver', _('Driver'),
-                       _('If this list is empty you need to %s'.format('<a href="/cgi-bin/luci/admin/system/opkg?query=nut-driver-">%s</a>'.format(_('install drivers')))));
+                       _('If this list is empty you need to %s'.format('<a href="/cgi-bin/luci/admin/system/package-manager?query=nut-driver-">%s</a>'.format(_('install drivers')))));
                driver_list.forEach(driver => {
                        o.value(driver_path + driver);
                });