Accepting request 260390 from home:Ledest:misc
fix bashisms in pre script OBS-URL: https://build.opensuse.org/request/show/260390 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rdflib?expand=0&rev=42
This commit is contained in:
parent
4c2884bb0c
commit
75d4f365b5
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Nov 08 20:27:00 UTC 2014 - Led <ledest@gmail.com>
|
||||
|
||||
- fix bashisms in pre script
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 11 12:31:20 UTC 2014 - toddrme2178@gmail.com
|
||||
|
||||
|
@ -91,12 +91,11 @@ sed -i 's/\r$//' docs/_build/html/_static/jquery.js
|
||||
%pre
|
||||
# Since /usr/bin/* became ghosted to be used with update-alternatives, we have to get rid
|
||||
# of the old binary resulting from the non-update-alternativies-ified package:
|
||||
[[ ! -L %{_bindir}/csv2rdf ]] && rm -f %{_bindir}/csv2rdf
|
||||
[[ ! -L %{_bindir}/rdf2dot ]] && rm -f %{_bindir}/rdf2dot
|
||||
[[ ! -L %{_bindir}/rdfgraphisomorphism ]] && rm -f %{_bindir}/rdfgraphisomorphism
|
||||
[[ ! -L %{_bindir}/rdfpipe ]] && rm -f %{_bindir}/rdfpipe
|
||||
[[ ! -L %{_bindir}/rdfs2dot ]] && rm -f %{_bindir}/rdfs2dot
|
||||
exit 0
|
||||
[ -h %{_bindir}/csv2rdf ] || rm -f %{_bindir}/csv2rdf
|
||||
[ -h %{_bindir}/rdf2dot ] || rm -f %{_bindir}/rdf2dot
|
||||
[ -h %{_bindir}/rdfgraphisomorphism ] || rm -f %{_bindir}/rdfgraphisomorphism
|
||||
[ -h %{_bindir}/rdfpipe ] || rm -f %{_bindir}/rdfpipe
|
||||
[ -h %{_bindir}/rdfs2dot ] || rm -f %{_bindir}/rdfs2dot
|
||||
|
||||
%post
|
||||
update-alternatives \
|
||||
|
Loading…
Reference in New Issue
Block a user