Mercurial > mxe-octave
changeset 4075:423925d2c032
installer: run pkg rebuild in installer
* makeinst-script.sh: add InstallPackages section with run of octave to install the packages index
author | John Donoghue |
---|---|
date | Wed, 06 Jan 2016 15:59:43 -0500 |
parents | 44b303c931fb |
children | 7c123db86666 |
files | makeinst-script.sh |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/makeinst-script.sh Wed Jan 06 15:59:41 2016 -0500 +++ b/makeinst-script.sh Wed Jan 06 15:59:43 2016 -0500 @@ -328,6 +328,12 @@ \${EndIf} SectionEnd +Section "InstallPackages" + ; fix the installed packages (if any) + SetOutPath "\$INSTDIR" + ExecWait '"\$INSTDIR\\bin\\octave-cli.exe" --no-gui -W -H -f -q --eval "pkg rebuild"' \$0 +SectionEnd + Section "Uninstall" ReadRegDWORD \$0 HKLM "Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Octave-$VERSION" "AllUsers"