127 | | 1. Create `c:\osgeo4w\etc\ini` and copy attachment:msys.bat into this directory |
128 | | 1. Create `c:\osgeo4w\etc\postinstall` and copy attachment:msys.2.bat into this directory |
| 127 | 1. Create `c:\osgeo4w\etc\ini` and save `msys.bat` into this directory |
| 128 | |
| 129 | {{{ |
| 130 | PATH %PATH%;%OSGEO4W_ROOT%\apps\msys\bin |
| 131 | if not defined HOME set HOME=%USERPROFILE% |
| 132 | }}} |
| 133 | |
| 134 | 2. Create `c:\osgeo4w\etc\postinstall` and save `msys.bat` into this directory |
| 135 | |
| 136 | {{{ |
| 137 | mkdir "%OSGEO4W_STARTMENU%" |
| 138 | xxmklink "%OSGEO4W_STARTMENU%\MSYS.lnk" "%OSGEO4W_ROOT%\apps\msys\msys.bat" " " \ "Minimal SYStem" 7 "%OSGEO4W_ROOT%\apps\msys\msys.ico" |
| 139 | |
| 140 | xxmklink "%ALLUSERSPROFILE%\Desktop\MSYS.lnk" "%OSGEO4W_ROOT%\apps\msys\msys.bat" " " \ "Minimal SYStem" 7 "%OSGEO4W_ROOT%\apps\msys\msys.ico" |
| 141 | |
| 142 | textreplace -std -t apps/msys/etc/fstab |
| 143 | }}} |