# HG changeset patch # User John Donoghue # Date 1574359500 18000 # Node ID 302be3cb013587b74f123061b0e1f2a0a4c667ed # Parent 3ed8bcdf4672ac491c7e0f0094e891eda261f8db * installer-files/post-install.bat: only pkg rebuild if version < 6 diff -r 3ed8bcdf4672 -r 302be3cb0135 installer-files/post-install.bat --- a/installer-files/post-install.bat Wed Nov 20 16:32:13 2019 -0500 +++ b/installer-files/post-install.bat Thu Nov 21 13:05:00 2019 -0500 @@ -27,5 +27,5 @@ echo "Updating fc-cache (may take a while) ..." "%OCTAVE_HOME%\bin\fc-cache.exe" -v echo "Updating octave packages ..." -"%OCTAVE_HOME%\bin\octave.bat" --no-gui -W -H -f -q --eval "pkg rebuild" +"%OCTAVE_HOME%\bin\octave.bat" --no-gui -W -H -f -q --eval "if version()(1) < '6', pkg rebuild, end"