Install only if path exists.

This commit is contained in:
SamTV12345 2024-03-09 22:56:13 +01:00
parent 940e80dc5c
commit 67b003e189

View file

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