diff --git a/module/webui/scripts/update.js b/module/webui/scripts/update.js index c18a6bd..18e7afc 100644 --- a/module/webui/scripts/update.js +++ b/module/webui/scripts/update.js @@ -89,7 +89,7 @@ function setupUpdateMenu() { try { showPrompt("prompt.installing"); setTimeout(async () => { - await execCommand(`sh ${basePath}common/get_extra.sh --install-update`); + await execCommand(`su -c 'sh ${basePath}common/get_extra.sh --install-update'`); showPrompt("prompt.installed"); installButton.style.display = "none"; rebootButton.style.display = "flex";