mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-26 19:01:39 -04:00
Build frontend app in repair script now that built app is restored.
This commit is contained in:
parent
f4fee874fb
commit
da693f03cf
1 changed files with 3 additions and 0 deletions
|
|
@ -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."
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue