summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-package-manager/htdocs/luci-static
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-package-manager/htdocs/luci-static')
-rw-r--r--applications/luci-app-package-manager/htdocs/luci-static/resources/view/package-manager.js9
1 files changed, 7 insertions, 2 deletions
diff --git a/applications/luci-app-package-manager/htdocs/luci-static/resources/view/package-manager.js b/applications/luci-app-package-manager/htdocs/luci-static/resources/view/package-manager.js
index 380ee76d82..d79ee985c9 100644
--- a/applications/luci-app-package-manager/htdocs/luci-static/resources/view/package-manager.js
+++ b/applications/luci-app-package-manager/htdocs/luci-static/resources/view/package-manager.js
@@ -865,8 +865,13 @@ function handleConfig(ev)
fs.list(base_dir).then(function(partials) {
var files = [];
- if (!L.hasSystemFeature('apk'))
- files.push(base_dir + '.conf')
+ if (L.hasSystemFeature('apk')) {
+ files.push(base_dir + '/' + 'repositories.d/customfeeds.list',
+ base_dir + '/' + 'repositories.d/distfeeds.list'
+ )
+ } else {
+ files.push(base_dir + '.conf')
+ }
for (var i = 0; i < partials.length; i++) {
if (partials[i].type == 'file') {