17
0

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:
Denisart Benjamin
2014-11-14 15:27:55 +00:00
committed by Git OBS Bridge
parent 9f2e33dc82
commit dadfcaf157
2 changed files with 7 additions and 2 deletions

View File

@@ -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 \