Blame SOURCES/xhtml1-dtds-prepare-tarball.sh

216701
#!/bin/sh
216701
216701
set -e
216701
216701
# Prune content from upstream tarball:
216701
# https://www.redhat.com/archives/fedora-legal-list/2009-February/msg00015.html
216701
216701
# While at it, prune docs as well; the W3C Documentation License is not an
216701
# acceptable one per Fedora licensing guidelines.
216701
216701
date="20020801"
216701
url="http://www.w3.org/TR/2002/REC-xhtml1-$date/xhtml1.tgz"
216701
216701
curl -O $url
216701
tar zxf $(basename $url)
216701
find xhtml1-$date -type f | grep -vF /DTD/ | xargs rm
216701
rm $(basename $url)
216701
216701
tar Jcvf xhtml1-dtds-$date.tar.xz xhtml1-$date
216701
rm -r xhtml1-$date