From 22f1c0939a0de09b884041a777d0d412a1f1f3ec Mon Sep 17 00:00:00 2001 From: Thierry N Date: Sat, 8 Aug 2009 16:08:00 +0200 Subject: Ajout de docbook-xsl#1.73.2-1 --- base/docbook-xsl/post-install | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 base/docbook-xsl/post-install (limited to 'base/docbook-xsl/post-install') diff --git a/base/docbook-xsl/post-install b/base/docbook-xsl/post-install new file mode 100644 index 000000000..0c471b674 --- /dev/null +++ b/base/docbook-xsl/post-install @@ -0,0 +1,28 @@ +#!/bin/sh + + +if [ ! -e /etc/xml/catalog ] +then + echo "/etc/xml/catalog doesn't exist! Please install docbook-xml and run the post-install script!" + exit 1 +fi + +for DBXSLVER in 1.74 +do +xmlcatalog --noout --add "rewriteSystem" \ + "http://docbook.sourceforge.net/release/xsl/$DBXSLVER" \ + "file:///usr/share/xml/docbook/xsl-stylesheets-$DBXSLVER" \ + /etc/xml/catalog +xmlcatalog --noout --add "rewriteURI" \ + "http://docbook.sourceforge.net/release/xsl/$DBXSLVER" \ + "file:///usr/share/xml/docbook/xsl-stylesheets-$DBXSLVER" \ + /etc/xml/catalog +xmlcatalog --noout --add "rewriteSystem" \ + "http://docbook.sourceforge.net/release/xsl/current" \ + "file:///usr/share/xml/docbook/xsl-stylesheets-$DBXSLVER" \ + /etc/xml/catalog +xmlcatalog --noout --add "rewriteURI" \ + "http://docbook.sourceforge.net/release/xsl/current" \ + "file:///usr/share/xml/docbook/xsl-stylesheets-$DBXSLVER" \ + /etc/xml/catalog +done -- cgit v1.2.3-70-g09d2