MagicMirror: Fix install process (#6492)

This commit is contained in:
Slaviša Arežina
2025-08-02 17:23:32 +02:00
committed by GitHub
parent 4eaffda82d
commit 158bdfc88e
2 changed files with 2 additions and 4 deletions

View File

@ -51,6 +51,7 @@ function update_script() {
msg_info "Configuring MagicMirror"
cd /opt/magicmirror
sed -i -E 's/("postinstall": )".*"/\1""/; s/("prepare": )".*"/\1""/' package.json
$STD npm run install-mm
cp /opt/magicmirror-backup/config.js /opt/magicmirror/config/
if [[ -f /opt/magicmirror-backup/custom.css ]]; then