diff options
author | ArthurBorsboom | 2016-01-16 23:01:52 +0100 |
---|---|---|
committer | ArthurBorsboom | 2016-01-16 23:01:52 +0100 |
commit | 6263dfecccd3f6b5420cb17d9bc98a0a1a88ac4f (patch) | |
tree | 33073afe41724726488877919707efe7a03eb021 /xhtml-docs.install | |
parent | 40c5932b57d649866768ecde9dc36462c15262f0 (diff) | |
download | aur-6263dfecccd3f6b5420cb17d9bc98a0a1a88ac4f.tar.gz |
By the instructions of user zman0900, I have added a dependency on libxml2 and a prepare statement for the xmlcatalog
Diffstat (limited to 'xhtml-docs.install')
-rw-r--r-- | xhtml-docs.install | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xhtml-docs.install b/xhtml-docs.install index 7f59848c6970..661b5ab38243 100644 --- a/xhtml-docs.install +++ b/xhtml-docs.install @@ -1,6 +1,9 @@ pkgname=xhtml-docs post_install() { + if [ ! -f etc/xml/catalog ]; then + xmlcatalog --noout --create etc/xml/catalog + fi xhtml1_dir="/usr/share/doc/xhtml/DTD" xmlcatalog --noout -add public '-//W3C//DTD XHTML 1.0 Strict//EN' "$xhtml1_dir/xhtml1-strict.dtd" /etc/xml/catalog xmlcatalog --noout -add public '-//W3C//DTD XHTML 1.0 Transitional//EN' "$xhtml1_dir/xhtml1-transitional.dtd" /etc/xml/catalog |