14
0

Accepting request 260368 from home:Ledest:misc

fix bashism in pre script

OBS-URL: https://build.opensuse.org/request/show/260368
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jsonschema?expand=0&rev=19
This commit is contained in:
Denisart Benjamin
2014-11-11 17:01:01 +00:00
committed by Git OBS Bridge
parent 796ff442a2
commit 94f73ed35e
2 changed files with 6 additions and 1 deletions

View File

@@ -59,7 +59,7 @@ python -m unittest jsonschema.tests.test_jsonschema_test_suite
%endif
%pre
[[ ! -L %{_bindir}/jsonschema ]] && rm -f %{_bindir}/jsonschema || :
[ -h %{_bindir}/jsonschema ] || rm -f %{_bindir}/jsonschema
%post
update-alternatives --install \