blob: 88ba975e081082edca5bd3ff76e8d9a7df41427b [file] [log] [blame]
Enzhen Huang21b35032021-07-08 09:03:37 -07001post_install() {
2 cd mingw32
3 local _prefix=$(pwd -W)
4 cd -
5 local _it
6 for _it in sip-build sip-distinfo sip-install sip-module sip-sdist sip-wheel; do
7 sed -e "s|/mingw32|${_prefix}|g" \
8 -i ${_prefix}/bin/${_it}-script.py
9 done
10}
11
12post_upgrade() {
13 post_install
14}