python-pip: add preinst and postrm scripts
authorAlexandru Ardelean <aa@ocedo.com>
Tue, 6 Jan 2015 12:10:17 +0000 (14:10 +0200)
committerAlexandru Ardelean <aa@ocedo.com>
Tue, 6 Jan 2015 12:29:38 +0000 (14:29 +0200)
commit2a66f00b87159f24ab0fd15b8bae48d01ca38af0
treeb800b98605539ddfa138919cd792a241c22aba66
parentc47ced20c13a18897a43b8a494d2995694e700a8
python-pip: add preinst and postrm scripts

Thanks to Xuefer Tinys <xuefer@gmail.com> for reporting this.

Case is:
  opkg install python-setuptools - works fine
  opkg install python-pip - reports conflicts for
                            files easy_install.pth & site.py

So the solution is to add some preinst script that backs up those files
on 'opkg install python-pip' and moves them back on 'opkg remove python-pip'.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
lang/python-pip/Makefile