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
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user