annotate installer-files/fc_update.bat @ 6161:8fcac4d6d983 release

of-queueing: Fix syntax error with Octave 7 (bug #62314). * src/of-queueing-1-octave7.patch: Add new file. * dist-files.mk: Include new patch.
author Markus Mützel <markus.muetzel@gmx.de>
date Thu, 14 Apr 2022 19:27:13 +0200
parents e3fe651408f9
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4254
7f2d5c8c4491 installer: update fc cache during install (Bug #45458)
John D
parents:
diff changeset
1 @echo off
7f2d5c8c4491 installer: update fc cache during install (Bug #45458)
John D
parents:
diff changeset
2
4805
e3fe651408f9 fc_update.bat: Remove all cache files before rebuilding (bug #54405).
Rik <rik@octave.org>
parents: 4793
diff changeset
3 REM Remove contents of cache directory including tmp and lock files (bug #45458)
e3fe651408f9 fc_update.bat: Remove all cache files before rebuilding (bug #54405).
Rik <rik@octave.org>
parents: 4793
diff changeset
4 del /Q /S %LOCALAPPDATA%\fontconfig\cache\ >nul 2>&1
e3fe651408f9 fc_update.bat: Remove all cache files before rebuilding (bug #54405).
Rik <rik@octave.org>
parents: 4793
diff changeset
5
4254
7f2d5c8c4491 installer: update fc cache during install (Bug #45458)
John D
parents:
diff changeset
6 set ROOT_DIR=%~dp0
4793
202fa20cf559 add msys2 environment/tools option, use seprate post-install script to finalize install
John Donoghue
parents: 4256
diff changeset
7 if EXIST %ROOT_DIR%\mingw32\bin\octave-cli.exe set ROOT_DIR=%ROOT_DIR%\mingw32
202fa20cf559 add msys2 environment/tools option, use seprate post-install script to finalize install
John Donoghue
parents: 4256
diff changeset
8 if EXIST %ROOT_DIR%\mingw64\bin\octave-cli.exe set ROOT_DIR=%ROOT_DIR%\mingw64
4256
b5b3f7fcac8f * installer-files/fc_update.bat: fix typo
John D
parents: 4254
diff changeset
9 echo "Updating fc-cache (may take a while) ..."
4254
7f2d5c8c4491 installer: update fc cache during install (Bug #45458)
John D
parents:
diff changeset
10 %ROOT_DIR%\bin\fc-cache.exe -v
7f2d5c8c4491 installer: update fc cache during install (Bug #45458)
John D
parents:
diff changeset
11 echo "Done."
7f2d5c8c4491 installer: update fc cache during install (Bug #45458)
John D
parents:
diff changeset
12