Files
MINGW-packages/mingw-w64-python-isort/isort3-x86_64.install
J. Peter Mugaas af121a926a added files I forgot (#4637)
* added files I forgot

* add even more files I forgot.
2018-11-12 13:11:36 +03:00

18 lines
356 B
Plaintext

post_install() {
cd mingw64
local _prefix=$(pwd -W)
cd -
local _it
# "somepackage" should be replaced with the name of your .EXE w/o 2 and .exe ext
# Like this:
# For "myexe.exe", it would be "myexe" .
for _it in isort; do
sed -e "s|/mingw64|${_prefix}|g" \
-i mingw64/bin/${_it}-script.py
done
}
post_upgrade() {
post_install
}