forked from pool/python-pip
Accepting request 260387 from home:Ledest:misc
fix bashism in pre script OBS-URL: https://build.opensuse.org/request/show/260387 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pip?expand=0&rev=33
This commit is contained in:
parent
365439b184
commit
507e0aada9
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Nov 08 20:39:00 UTC 2014 - Led <ledest@gmail.com>
|
||||
|
||||
- fix bashism in pre script
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 8 11:03:18 UTC 2014 - speilicke@suse.com
|
||||
|
||||
|
@ -67,8 +67,7 @@ python setup.py test
|
||||
%pre
|
||||
# Since /usr/bin/pip became ghosted to be used with update-alternatives, we have to get rid
|
||||
# of the old binary resulting from the non-update-alternatives-ified package:
|
||||
[[ ! -L %{_bindir}/pip ]] && rm -f %{_bindir}/pip
|
||||
exit 0
|
||||
[ -h %{_bindir}/pip ] || rm -f %{_bindir}/pip
|
||||
|
||||
%post
|
||||
update-alternatives --install %{_bindir}/pip pip %{_bindir}/pip%{py_ver} 20
|
||||
|
Loading…
Reference in New Issue
Block a user