18 lines
370 B
Plaintext
18 lines
370 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 easy_install-3.8; do
|
|
sed -e "s|/mingw64|${_prefix}|g" \
|
|
-i ${_prefix}/bin/${_it}-script.py
|
|
done
|
|
}
|
|
|
|
post_upgrade() {
|
|
post_install
|
|
}
|