forked from pool/python-jsonpatch
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
This commit is contained in:
committed by
Git OBS Bridge
parent
9f2e33dc82
commit
dadfcaf157
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Nov 08 17:31:00 UTC 2014 - Led <ledest@gmail.com>
|
||||||
|
|
||||||
|
- fix bashisms in pre script
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Sep 15 09:40:21 UTC 2014 - tbechtold@suse.com
|
Mon Sep 15 09:40:21 UTC 2014 - tbechtold@suse.com
|
||||||
|
|
||||||
|
|||||||
@@ -54,8 +54,8 @@ for i in patch diff; do
|
|||||||
done
|
done
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
[[ ! -L %{_bindir}/jsonpatch ]] && rm -f %{_bindir}/jsonpatch || :
|
[ -h %{_bindir}/jsonpatch ] || rm -f %{_bindir}/jsonpatch
|
||||||
[[ ! -L %{_bindir}/jsondiff ]] && rm -f %{_bindir}/jsondiff || :
|
[ -h %{_bindir}/jsondiff ] || rm -f %{_bindir}/jsondiff
|
||||||
|
|
||||||
%post
|
%post
|
||||||
update-alternatives --install \
|
update-alternatives --install \
|
||||||
|
|||||||
Reference in New Issue
Block a user