msys2 / msys2-installer

The one-click installer for MSYS2
BSD 3-Clause "New" or "Revised" License
561 stars 87 forks source link

user directory after CLI installation #77

Open punytroll opened 7 months ago

punytroll commented 7 months ago

Sorry for posting a question rather than a bug report, but I have an issue with this. :) I'm installing MSYS2 into a docker container using the installer CLI. (.\msys2-x86_64-latest.exe in --confirm-command --accept-messages --root C:/msys64) After the installation is completed, everything looks fine, except that, contrary to the installation via GUI, there is no user directory under C:\msys64\home\. Is that intended or a necessary side effect of CLI installation? Is there any command that I could run to create this directory at a later point in time?

lazka commented 7 months ago

Huh, that would suggest the post-install script isn't run in that case. Needs investigating.

The user directory should be created by running C:\msys64\usr\bin\bash.exe -lc " "