7af2808800
The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/xhtml1-dtds#3853bb105b714d3b782bbcd015d9291ea6179a1e
21 lines
521 B
Bash
Executable File
21 lines
521 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
# Prune content from upstream tarball:
|
|
# https://www.redhat.com/archives/fedora-legal-list/2009-February/msg00015.html
|
|
|
|
# While at it, prune docs as well; the W3C Documentation License is not an
|
|
# acceptable one per Fedora licensing guidelines.
|
|
|
|
date="20020801"
|
|
url="http://www.w3.org/TR/2002/REC-xhtml1-$date/xhtml1.tgz"
|
|
|
|
curl -O $url
|
|
tar zxf $(basename $url)
|
|
find xhtml1-$date -type f | grep -vF /DTD/ | xargs rm
|
|
rm $(basename $url)
|
|
|
|
tar Jcvf xhtml1-dtds-$date.tar.xz xhtml1-$date
|
|
rm -r xhtml1-$date
|