# HG changeset patch # User John Donoghue # Date 1452113983 18000 # Node ID 423925d2c032f14a81020cdfec9d039df1b60e7d # Parent 44b303c931fb2925e83453c0583aee77aba364cc installer: run pkg rebuild in installer * makeinst-script.sh: add InstallPackages section with run of octave to install the packages index diff -r 44b303c931fb -r 423925d2c032 makeinst-script.sh --- 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"