Files
MINGW-packages/mingw-w64-lua-luarocks/luarocks-i686.install
Stephen Lyons e183658f1d mingw-w64-lua-luarocks: bugfix for 32-bit install
The elements in the `sed` expression are the wrong way around compared to
those for the 64-bit install. It is my believe that this is the main part
of the problem that I have described in:
https://github.com/msys2/MINGW-packages/issues/5928

Thus I believe that this will close #5928 .

Signed-off-by: Stephen Lyons <slysven@virginmedia.com>
2020-06-11 02:06:24 +01:00

18 lines
367 B
Plaintext

post_install() {
MINGW_PREFIX=/mingw32
PREFIX_WIN=$(cygpath -m ${MINGW_PREFIX})
sed -s "s|${MINGW_PREFIX}|${PREFIX_WIN}|g" \
-i ${MINGW_PREFIX}/etc/luarocks/config-5.1.lua
sed -s "s|${MINGW_PREFIX}|${PREFIX_WIN}|g" \
-i ${MINGW_PREFIX}/share/lua/5.1/luarocks/site_config.lua
}
post_upgrade() {
post_install
}
post_remove() {
post_install
}