Files
MINGW-packages/mingw-w64-itstool/itstool-i686.install
JPeterMugaas 159f6af0b9 fix pyscript2exe.py so that it provides the propper shabbang just like setuptools and then change the sshabbang for the user's particular system
mingw-w64-glib2
mingw-w64-gobject-introspection
mingw-w64-gtk-doc
mingw-w64-itstool

Note that the shabbang should be a file name and not "/usr/bin/env python2.exe" or something like that.  The env command is for accessing something in the environment.  I think this could be effecting some Gnome-build scripts.
2019-06-05 16:57:24 -04:00

15 lines
226 B
Plaintext

post_install() {
cd mingw32
local _prefix=$(pwd -W)
cd -
local _it
for _it in itstool; do
sed -e "s|/mingw32|${_prefix}|g" \
-i ${_prefix}/bin/${_it}-script.py
done
}
post_upgrade() {
post_install
}