mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-05 06:37:10 -04:00
Install only if path exists.
This commit is contained in:
parent
940e80dc5c
commit
67b003e189
1 changed files with 8 additions and 6 deletions
|
@ -10,13 +10,15 @@ echo _
|
||||||
echo Ensure that all dependencies are up to date... If this is the first time you have run Etherpad please be patient.
|
echo Ensure that all dependencies are up to date... If this is the first time you have run Etherpad please be patient.
|
||||||
|
|
||||||
|
|
||||||
:: Install admin ui
|
:: Install admin ui only if available
|
||||||
|
IF EXIST admin (
|
||||||
|
cd /D .\admin
|
||||||
|
dir
|
||||||
|
cmd /C pnpm i || exit /B 1
|
||||||
|
cmd /C pnpm run build || exit /B 1
|
||||||
|
cd /D ..
|
||||||
|
)
|
||||||
|
|
||||||
cd /D .\admin
|
|
||||||
dir
|
|
||||||
cmd /C pnpm i || exit /B 1
|
|
||||||
cmd /C pnpm run build || exit /B 1
|
|
||||||
cd /D ..
|
|
||||||
|
|
||||||
cmd /C pnpm i || exit /B 1
|
cmd /C pnpm i || exit /B 1
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue