Accepting request 260367 from home:Ledest:misc

fix bashism in pre script

OBS-URL: https://build.opensuse.org/request/show/260367
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jsonpointer?expand=0&rev=7
This commit is contained in:
Denisart Benjamin 2014-11-14 15:27:43 +00:00 committed by Git OBS Bridge
parent 2d06d9d490
commit 662192d7d7
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Nov 08 17:34:00 UTC 2014 - Led <ledest@gmail.com>
- fix bashism in pre script
-------------------------------------------------------------------
Mon Sep 15 09:45:48 UTC 2014 - tbechtold@suse.com

View File

@ -49,7 +49,7 @@ mv %{buildroot}%{_bindir}/jsonpointer %{buildroot}%{_bindir}/jsonpointer-%{py_ve
ln -s %{_bindir}/jsonpointer-%{py_ver} %{buildroot}%{_bindir}/jsonpointer
%pre
[[ ! -L %{_bindir}/jsonpointer ]] && rm -f %{_bindir}/jsonpointer || :
[ -h %{_bindir}/jsonpointer ] || rm -f %{_bindir}/jsonpointer
%post
update-alternatives --install \