luci-app-nut: update package-manager link

opkg is no longer available as the generic name for package-manager

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
This commit is contained in:
Paul Donald
2024-12-15 20:13:50 +01:00
parent 4bc20a2bfb
commit 500ce17e7a

View File

@@ -158,7 +158,7 @@ return view.extend({
o.optional = true; o.optional = true;
o = s.option(form.ListValue, 'driver', _('Driver'), 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 => { driver_list.forEach(driver => {
o.value(driver_path + driver); o.value(driver_path + driver);
}); });