Update homepage-v5.sh

fix linting error
This commit is contained in:
tteckster 2023-02-19 09:36:32 -05:00 committed by GitHub
parent e4b01b02a9
commit 652df53f75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -327,6 +327,8 @@ fi
cd /opt/homepage
systemctl stop homepage
git pull --force &>/dev/null
sed -i 's/prowlarr: dynamic(() => import("\.\/prowlarr\/component")),/\/\/ &/' /opt/homepage/src/widgets/components.js
rm -rf /opt/homepage/src/widgets/prowlarr/component.jsx
pnpm install &>/dev/null
pnpm build &>/dev/null
systemctl start homepage