Accepting request 258738 from home:Ledest:misc

fix bashisms in pre script

OBS-URL: https://build.opensuse.org/request/show/258738
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-docutils?expand=0&rev=31
This commit is contained in:
Denisart Benjamin 2014-10-29 17:18:15 +00:00 committed by Git OBS Bridge
parent 729852e3d6
commit dab137dc49
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Oct 29 02:14:00 UTC 2014 - Led <ledest@gmail.com>
- fix bashisms in pre script
-------------------------------------------------------------------
Tue Jul 15 10:36:57 UTC 2014 - toddrme2178@gmail.com

View File

@ -72,9 +72,8 @@ nosetests
# Since binaries 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.
binaries="rst2html rst2latex rst2man rst2odt rst2odt_prepstyles rst2pseudoxml rst2s5 rst2xetex rst2xml rstpep2html"
for i in $binaries; do
[[ ! -L %{_bindir}/${i} ]] && rm -f %{_bindir}/${i}
for i in rst2html rst2latex rst2man rst2odt rst2odt_prepstyles rst2pseudoxml rst2s5 rst2xetex rst2xml rstpep2html; do
[ -L %_bindir/$i ] || rm -f %_bindir/$i
done
exit 0