From 94f73ed35e48043bf7ac3f4be52ad65e3a00931c29b274d82fc47b688f8e6a2b Mon Sep 17 00:00:00 2001 From: Denisart Benjamin Date: Tue, 11 Nov 2014 17:01:01 +0000 Subject: [PATCH] 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 --- python-jsonschema.changes | 5 +++++ python-jsonschema.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/python-jsonschema.changes b/python-jsonschema.changes index 775f82c..8ecd413 100644 --- a/python-jsonschema.changes +++ b/python-jsonschema.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Nov 08 17:38:00 UTC 2014 - Led + +- fix bashism in pre script + ------------------------------------------------------------------- Mon Sep 15 10:57:54 UTC 2014 - tbechtold@suse.com diff --git a/python-jsonschema.spec b/python-jsonschema.spec index 2b5c3ca..c4d7024 100644 --- a/python-jsonschema.spec +++ b/python-jsonschema.spec @@ -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 \