Explorar o código

Update homepage-v5.sh

fix linting error
tteckster %!s(int64=2) %!d(string=hai) anos
pai
achega
652df53f75
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      ct/homepage-v5.sh

+ 2 - 0
ct/homepage-v5.sh

@@ -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