syncevolution/build/xsl-update.sh
Patrick Ohly 99e27d4661 D-Bus API: added update script for docbook XSL
Script which might come handy for updating our copy of the docbook
XSL files.
2012-07-04 17:02:03 +02:00

15 lines
418 B
Bash
Executable file

#! /bin/sh
#
# Download current version of all our docbook XSL files.
# Handles download errors by retrying. Does not handle
# new or removed files, that needs to be done manually.
set -x
cd `dirname $0`/xsl
for i in `find * -type f`; do
for attempt in `seq 0 10`; do
if wget -O $i.tmp http://docbook.sourceforge.net/release/xsl/current/$i && mv $i.tmp $i; then
break
fi
done
done