diff --git a/luci-app-zapret2/htdocs/luci-static/resources/view/zapret2/updater.js b/luci-app-zapret2/htdocs/luci-static/resources/view/zapret2/updater.js index ad4f924..3d983dc 100644 --- a/luci-app-zapret2/htdocs/luci-static/resources/view/zapret2/updater.js +++ b/luci-app-zapret2/htdocs/luci-static/resources/view/zapret2/updater.js @@ -102,9 +102,11 @@ return baseclass.extend({ } let pkg_url = txt.match(/^ZAP_PKG_URL\s*=\s*(.+)$/m); if (code && pkg_url) { - if (code[1] == 'E' && !wnd.forced_reinstall) { - wnd.setStage(0); // install not needed - return; + if (!wnd.forced_reinstall) { + if (code[1] == 'E' || code[1] == 'G') { + wnd.setStage(0); // install not needed + return; + } } wnd.pkg_url = pkg_url[1]; wnd.setStage(2); // enable all buttons