From dadfcaf157a69e1f2e7d543317aca0e4d276f0d3d6596ef018b6980853d50f4e Mon Sep 17 00:00:00 2001 From: Denisart Benjamin Date: Fri, 14 Nov 2014 15:27:55 +0000 Subject: [PATCH] Accepting request 260366 from home:Ledest:misc fix bashisms in pre script OBS-URL: https://build.opensuse.org/request/show/260366 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jsonpatch?expand=0&rev=15 --- python-jsonpatch.changes | 5 +++++ python-jsonpatch.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/python-jsonpatch.changes b/python-jsonpatch.changes index 222729e..d247025 100644 --- a/python-jsonpatch.changes +++ b/python-jsonpatch.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Nov 08 17:31:00 UTC 2014 - Led + +- fix bashisms in pre script + ------------------------------------------------------------------- Mon Sep 15 09:40:21 UTC 2014 - tbechtold@suse.com diff --git a/python-jsonpatch.spec b/python-jsonpatch.spec index 45da0c4..a46a635 100644 --- a/python-jsonpatch.spec +++ b/python-jsonpatch.spec @@ -54,8 +54,8 @@ for i in patch diff; do done %pre -[[ ! -L %{_bindir}/jsonpatch ]] && rm -f %{_bindir}/jsonpatch || : -[[ ! -L %{_bindir}/jsondiff ]] && rm -f %{_bindir}/jsondiff || : +[ -h %{_bindir}/jsonpatch ] || rm -f %{_bindir}/jsonpatch +[ -h %{_bindir}/jsondiff ] || rm -f %{_bindir}/jsondiff %post update-alternatives --install \