Build frontend app in repair script now that built app is restored.

This commit is contained in:
Roland 2025-03-23 09:59:13 -06:00
parent f4fee874fb
commit da693f03cf
No known key found for this signature in database
GPG key ID: 1BA620CE6C9A4680

View file

@ -135,6 +135,9 @@ if grep -qs /media/wrolpi /proc/mounts && [ -z "$(ls -A /media/wrolpi)" ] && [ !
mkdir /media/wrolpi/config
fi
# Build the frontend app.
(cd /opt/wrolpi/app && npm run build)
# Change owner of the media directory, ignore any errors because the drive may be fat/exfat/etc.
chown wrolpi:wrolpi /media/wrolpi 2>/dev/null || echo "Ignoring failure to change media directory permissions."