#2052 mingw-get[GUI]:lua scripts are not run for any action

INSTALLER
closed
Bug
fixed
IINR_-_Include_In_Next_Release
False
2013-09-20
2013-09-17
No

Any action, invoked from the GUI, which specifies a {pre,post}-{install,remove} hook, fails with a lua error, indicating that setup.lua cannot be found.

Related

Issues: #2036
Issues: #2129

Discussion

  • Keith Marshall

    Keith Marshall - 2013-09-19
    • labels: --> gui, script
    • status: assigned --> open
     
  • Keith Marshall

    Keith Marshall - 2013-09-19

    The issue is that the value assigned to $LUA_PATH, (set within mingw-get itself, when starting the Lua script interpreter), sets a path relative to the CLI driver, but lacks an equivalent relative to the GUI driver program.

    Fixing this is trivial. Unfortunately, doing so exposes [#2057].

     

    Related

    Issues: #2057

  • Keith Marshall

    Keith Marshall - 2013-09-20

    The corrected LUA_PATH assignment has now been committed to the origin repository, and will be incorporated in mingw-get-0.6.2.

     
  • Keith Marshall

    Keith Marshall - 2013-09-20
    • status: open --> closed
    • Resolution: none --> fixed
    • Category: Unknown --> IINR_-_Include_In_Next_Release
     

Log in to post a comment.