source: common/blfs-tool-deps/906-docbook-xsl@ 53a4499

Last change on this file since 53a4499 was 91ff6a9, checked in by Manuel Canales Esparcia <manuel@…>, 18 years ago

Replaced /bin/sh by /bin/bash

  • Property mode set to 100644
File size: 1.2 KB
Line 
1#!/bin/bash
2
3# $Id$
4
5set -e
6cd $PKGDIR
7
8install -v -m755 -d /usr/share/xml/docbook/xsl-stylesheets-1.69.1
9cp -v -R VERSION common eclipse extensions fo html \
10 htmlhelp images javahelp lib manpages params \
11 profiling slides template website xhtml \
12 /usr/share/xml/docbook/xsl-stylesheets-1.69.1
13
14if [ ! -d /etc/xml ]; then install -v -m755 -d /etc/xml; fi
15if [ ! -f /etc/xml/catalog ]; then
16 xmlcatalog --noout --create /etc/xml/catalog
17fi
18
19xmlcatalog --noout --add "rewriteSystem" \
20 "http://docbook.sourceforge.net/release/xsl/1.69.1" \
21 "/usr/share/xml/docbook/xsl-stylesheets-1.69.1" \
22 /etc/xml/catalog
23
24xmlcatalog --noout --add "rewriteURI" \
25 "http://docbook.sourceforge.net/release/xsl/1.69.1" \
26 "/usr/share/xml/docbook/xsl-stylesheets-1.69.1" \
27 /etc/xml/catalog
28
29xmlcatalog --noout --add "rewriteSystem" \
30 "http://docbook.sourceforge.net/release/xsl/current" \
31 "/usr/share/xml/docbook/xsl-stylesheets-1.69.1" \
32 /etc/xml/catalog
33
34xmlcatalog --noout --add "rewriteURI" \
35 "http://docbook.sourceforge.net/release/xsl/current" \
36 "/usr/share/xml/docbook/xsl-stylesheets-1.69.1" \
37 /etc/xml/catalog
38
39exit
Note: See TracBrowser for help on using the repository browser.