blob: fec0911ee12490b106d8f02f57c225d4dfd96581 [file] [log] [blame] [edit]
post_install() {
local _prefix="/mingw32"
local _prefix_win="$(cygpath -m "${_prefix}")"
sed -s "s|${_prefix}|${_prefix_win}|g" -i "${_prefix}/share/Armadillo/CMake/"*.cmake
# Add installers local installation path
sed -s "s|${_prefix}|${_prefix_win}|g" -i "${_prefix}/include/armadillo_bits/config.hpp"
}
post_upgrade() {
post_install
}