summaryrefslogtreecommitdiffstats
path: root/abs/extra/docbook-xsl/docbook-xsl.install
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/docbook-xsl/docbook-xsl.install')
-rw-r--r--abs/extra/docbook-xsl/docbook-xsl.install10
1 files changed, 2 insertions, 8 deletions
diff --git a/abs/extra/docbook-xsl/docbook-xsl.install b/abs/extra/docbook-xsl/docbook-xsl.install
index a8ea3e7..c84d929 100644
--- a/abs/extra/docbook-xsl/docbook-xsl.install
+++ b/abs/extra/docbook-xsl/docbook-xsl.install
@@ -1,6 +1,6 @@
post_install() {
- if [ ! -f /etc/xml/catalog ]; then
- xmlcatalog --noout --create /etc/xml/catalog
+ if [ ! -f etc/xml/catalog ]; then
+ xmlcatalog --noout --create etc/xml/catalog
fi
_NEW=`echo $1 | sed 's|\(.*\)\-.*|\1|'`
@@ -39,9 +39,3 @@ post_remove() {
xmlcatalog --noout --del "file:///etc/xml/docbook" etc/xml/catalog
fi
}
-
-op=$1
-shift
-
-$op $*
-