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>
18 lines
367 B
Plaintext
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
|
|
}
|