luci-app-opkg: gracefully handle empty config files
authorJo-Philipp Wich <jo@mein.io>
Sun, 23 Feb 2020 20:16:23 +0000 (21:16 +0100)
committerJo-Philipp Wich <jo@mein.io>
Sun, 23 Feb 2020 20:16:59 +0000 (21:16 +0100)
commit98ca75e918baf7b5aff68c634ba02149c05bfec7
tree0471b9372ca12c1e7d718f477f08f936763486c3
parent02c68f2838197e4eff63c61a89e60164ba3faa1f
luci-app-opkg: gracefully handle empty config files

Fixes: #3668
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 562425605af51443986cb2596199564e4102ffff)
applications/luci-app-opkg/htdocs/luci-static/resources/view/opkg.js