SHA256
1
0
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:
Denisart Benjamin 2014-11-14 15:31:02 +00:00 committed by Git OBS Bridge
parent 365439b184
commit 507e0aada9
2 changed files with 6 additions and 2 deletions

View File

@ -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

View File

@ -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