python-ndg-httpsclient - 4.4.4 - Update to late3st version. Make sure you can run the .exe in the package by specifying the absolute path and doing a fixup at install. (#3396)

This commit is contained in:
J. Peter Mugaas authored and Алексей committed 2018-02-16 13:04:07 +03:00
1 parent b887e7eb5f
commit 80b1e2397e
5 files changed
+73 -3

No files matched your search

@@ -0,0 +1,14 @@
post_install() {
cd mingw64
local _prefix=$(pwd -W)
cd -
local _it
for _it in ndg_httpclient2; do
sed -e "s|/mingw64|${_prefix}|g" \
-i mingw64/bin/${_it}-script.py
done
}
post_upgrade() {
post_install
}