summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-package-manager/htdocs/luci-static/resources/view/package-manager.js
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-package-manager/htdocs/luci-static/resources/view/package-manager.js')
-rw-r--r--applications/luci-app-package-manager/htdocs/luci-static/resources/view/package-manager.js3
1 files changed, 3 insertions, 0 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 bc246f9e29..380ee76d82 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
@@ -1021,6 +1021,9 @@ function handlePkg(ev)
fs.exec_direct('/usr/libexec/package-manager-call', argv, 'json').then(function(res) {
dlg.removeChild(dlg.lastChild);
+ if (res.pkmcmd)
+ dlg.appendChild(E('pre', [ res.pkmcmd ]));
+
if (res.stdout)
dlg.appendChild(E('pre', [ res.stdout ]));