wok-next annotate docbook-xml/receipt @ rev 19972
Up copyq (3.1.1), qedit (2.8.1)
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Tue Oct 17 19:29:54 2017 +0200 (2017-10-17) |
parents | 6fab3264ba87 |
children | 0e7893ac206d |
rev | line source |
---|---|
slaxemulator@6983 | 1 # SliTaz package receipt. |
slaxemulator@6983 | 2 |
slaxemulator@6983 | 3 PACKAGE="docbook-xml" |
slaxemulator@7625 | 4 VERSION="4.5" |
slaxemulator@6983 | 5 CATEGORY="development" |
slaxemulator@9352 | 6 SHORT_DESC="A widely used XML scheme for writing documentation and help. (version 4.5)" |
slaxemulator@9352 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15579 | 8 LICENSE="MIT" |
al@19607 | 9 WEB_SITE="http://www.oasis-open.org/docbook/" |
al@19607 | 10 |
al@18741 | 11 TARBALL="$PACKAGE-$VERSION.zip" |
slaxemulator@8479 | 12 WGET_URL="http://www.docbook.org/xml/$VERSION/$TARBALL" |
slaxemulator@6983 | 13 |
al@19607 | 14 DEPENDS="libxml2-tools libxml2 docbook-xml-412 docbook-xml-42 docbook-xml-43 \ |
al@19607 | 15 docbook-xml-44" |
pascal@15579 | 16 |
slaxemulator@9352 | 17 # Rules to configure and make the package. |
slaxemulator@9352 | 18 compile_rules() |
slaxemulator@9352 | 19 { |
al@18741 | 20 mkdir -p $DESTDIR/usr/share/xml/docbook/xml-dtd-$VERSION |
slaxemulator@9352 | 21 cp -dRf docbook.cat *.dtd ent/ *.mod \ |
al@18741 | 22 $DESTDIR/usr/share/xml/docbook/xml-dtd-$VERSION |
slaxemulator@9352 | 23 } |
slaxemulator@9352 | 24 |
slaxemulator@6983 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6983 | 26 genpkg_rules() |
slaxemulator@6983 | 27 { |
slaxemulator@9352 | 28 mkdir -p $fs |
pascal@15579 | 29 cp -a $install/usr $fs |
slaxemulator@6983 | 30 } |
slaxemulator@7625 | 31 |
slaxemulator@6983 | 32 post_install() |
slaxemulator@6983 | 33 { |
pascal@18730 | 34 [ -d "$1/etc/xml" ] || mkdir -p "$1/etc/xml" |
pascal@18730 | 35 if [ -f "$1/etc/xml/docbook-xml" ]; then |
pascal@18730 | 36 chroot "$1/" xmlcatalog --noout /etc/xml/docbook-xml |
slaxemulator@9352 | 37 else |
pascal@18730 | 38 chroot "$1/" xmlcatalog --noout --create /etc/xml/docbook-xml |
slaxemulator@9352 | 39 fi |
slaxemulator@6983 | 40 |
pascal@18730 | 41 if [ "$1" ]; then |
pascal@18730 | 42 mv -f "$1/etc/resolv.conf" "$1/etc/recolv.conf.$$" 2> /dev/null |
pascal@18730 | 43 cp /etc/resolv.conf "$1/etc/resolv.conf" |
pascal@18730 | 44 fi |
slaxemulator@9352 | 45 |
al@18741 | 46 # V4.1.2 |
al@18741 | 47 chroot "$1/" xmlcatalog --noout --add "public" \ |
al@18741 | 48 "-//OASIS//DTD DocBook XML V4.1.2//EN" \ |
al@18741 | 49 "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" \ |
al@18741 | 50 "/etc//xml/docbook-xml" |
al@18741 | 51 chroot "$1/" xmlcatalog --noout --add "public" \ |
al@18741 | 52 "-//OASIS//DTD DocBook XML CALS Table Model V4.1.2//EN" \ |
al@18741 | 53 "http://www.oasis-open.org/docbook/xml/4.1.2/calstblx.dtd" \ |
al@18741 | 54 "/etc/xml/docbook-xml" |
al@18741 | 55 chroot "$1/" xmlcatalog --noout --add "public" \ |
al@18741 | 56 "-//OASIS//DTD DocBook XML CALS Table Model V4.1.2//EN" \ |
al@18741 | 57 "http://www.oasis-open.org/docbook/xml/4.1.2/calstblx.dtd" \ |
al@18741 | 58 "/etc/xml/docbook-xml" |
al@18741 | 59 chroot "$1/" xmlcatalog --noout --add "public" \ |
al@18741 | 60 "-//OASIS//DTD XML Exchange Table Model 19990315//EN" \ |
al@18741 | 61 "http://www.oasis-open.org/docbook/xml/4.1.2/soextblx.dtd" \ |
al@18741 | 62 "/etc/xml/docbook-xml" |
al@18741 | 63 chroot "$1/" xmlcatalog --noout --add "public" \ |
al@18741 | 64 "-//OASIS//ELEMENTS DocBook XML Information Pool V4.1.2//EN" \ |
al@18741 | 65 "http://www.oasis-open.org/docbook/xml/4.1.2/dbpoolx.mod" \ |
al@18741 | 66 "/etc/xml/docbook-xml" |
al@18741 | 67 chroot "$1/" xmlcatalog --noout --add "public" \ |
al@18741 | 68 "-//OASIS//ELEMENTS DocBook XML Document Hierarchy V4.1.2//EN" \ |
al@18741 | 69 "http://www.oasis-open.org/docbook/xml/4.1.2/dbhierx.mod" \ |
al@18741 | 70 "/etc/xml/docbook-xml" |
al@18741 | 71 chroot "$1/" xmlcatalog --noout --add "public" \ |
al@18741 | 72 "-//OASIS//ENTITIES DocBook XML Additional General Entities V4.1.2//EN" \ |
al@18741 | 73 "http://www.oasis-open.org/docbook/xml/4.1.2/dbgenent.mod" \ |
al@18741 | 74 "/etc/xml/docbook-xml" |
al@18741 | 75 chroot "$1/" xmlcatalog --noout --add "public" \ |
al@18741 | 76 "-//OASIS//ENTITIES DocBook XML Notations V4.1.2//EN" \ |
al@18741 | 77 "http://www.oasis-open.org/docbook/xml/4.1.2/dbnotnx.mod" \ |
al@18741 | 78 "/etc/xml/docbook-xml" |
al@18741 | 79 chroot "$1/" xmlcatalog --noout --add "public" \ |
al@18741 | 80 "-//OASIS//ENTITIES DocBook XML Character Entities V4.1.2//EN" \ |
al@18741 | 81 "http://www.oasis-open.org/docbook/xml/4.1.2/dbcentx.mod" \ |
al@18741 | 82 "/etc/xml/docbook-xml" |
al@18741 | 83 chroot "$1/" xmlcatalog --noout --add "rewriteSystem" \ |
al@18741 | 84 "http://www.oasis-open.org/docbook/xml/4.1.2" \ |
al@18741 | 85 "file:///usr/share/xml/docbook/xml-dtd-4.1.2" \ |
al@18741 | 86 "/etc/xml/docbook-xml" |
al@18741 | 87 chroot "$1/" xmlcatalog --noout --add "rewriteURI" \ |
al@18741 | 88 "http://www.oasis-open.org/docbook/xml/4.1.2" \ |
al@18741 | 89 "file:///usr/share/xml/docbook/xml-dtd-4.1.2" \ |
al@18741 | 90 "/etc/xml/docbook-xml" |
slaxemulator@9352 | 91 |
al@18741 | 92 # V4.2 |
al@18741 | 93 chroot "$1/" xmlcatalog --noout --add "public" \ |
al@18741 | 94 "-//OASIS//DTD DocBook XML V4.2//EN" \ |
al@18741 | 95 "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" \ |
al@18741 | 96 "/etc/xml/docbook-xml" |
al@18741 | 97 chroot "$1/" xmlcatalog --noout --add "public" \ |
al@18741 | 98 "-//OASIS//DTD DocBook CALS Table Model V4.2//EN" \ |
al@18741 | 99 "http://www.oasis-open.org/docbook/xml/4.2/calstblx.dtd" \ |
al@18741 | 100 "/etc/xml/docbook-xml" |
al@18741 | 101 chroot "$1/" xmlcatalog --noout --add "public" \ |
al@18741 | 102 "-//OASIS//DTD XML Exchange Table Model 19990315//EN" \ |
al@18741 | 103 "http://www.oasis-open.org/docbook/xml/4.2/soextblx.dtd" \ |
al@18741 | 104 "/etc/xml/docbook-xml" |
al@18741 | 105 chroot "$1/" xmlcatalog --noout --add "public" \ |
al@18741 | 106 "-//OASIS//ELEMENTS DocBook Information Pool V4.2//EN" \ |
al@18741 | 107 "http://www.oasis-open.org/docbook/xml/4.2/dbpoolx.mod" \ |
al@18741 | 108 "/etc/xml/docbook-xml" |
al@18741 | 109 chroot "$1/" xmlcatalog --noout --add "public" \ |
al@18741 | 110 "-//OASIS//ELEMENTS DocBook Document Hierarchy V4.2//EN" \ |
al@18741 | 111 "http://www.oasis-open.org/docbook/xml/4.2/dbhierx.mod" \ |
al@18741 | 112 "/etc/xml/docbook-xml" |
al@18741 | 113 chroot "$1/" xmlcatalog --noout --add "public" \ |
al@18741 | 114 "-//OASIS//ENTITIES DocBook Additional General Entities V4.2//EN" \ |
al@18741 | 115 "http://www.oasis-open.org/docbook/xml/4.2/dbgenent.mod" \ |
al@18741 | 116 "/etc/xml/docbook-xml" |
al@18741 | 117 chroot "$1/" xmlcatalog --noout --add "public" \ |
al@18741 | 118 "-//OASIS//ENTITIES DocBook Notations V4.2//EN" \ |
al@18741 | 119 "http://www.oasis-open.org/docbook/xml/4.2/dbnotnx.mod" \ |
al@18741 | 120 "/etc/xml/docbook-xml" |
al@18741 | 121 chroot "$1/" xmlcatalog --noout --add "public" \ |
al@18741 | 122 "-//OASIS//ENTITIES DocBook Character Entities V4.2//EN" \ |
al@18741 | 123 "http://www.oasis-open.org/docbook/xml/4.2/dbcentx.mod" \ |
al@18741 | 124 "/etc/xml/docbook-xml" |
al@18741 | 125 chroot "$1/" xmlcatalog --noout --add "rewriteSystem" \ |
al@18741 | 126 "http://www.oasis-open.org/docbook/xml/4.2" \ |
al@18741 | 127 "file:///usr/share/xml/docbook/xml-dtd-4.2" \ |
al@18741 | 128 "/etc/xml/docbook-xml" |
al@18741 | 129 chroot "$1/" xmlcatalog --noout --add "rewriteURI" \ |
al@18741 | 130 "http://www.oasis-open.org/docbook/xml/4.2" \ |
al@18741 | 131 "file:///usr/share/xml/docbook/xml-dtd-4.2" \ |
al@18741 | 132 "/etc/xml/docbook-xml" |
slaxemulator@9352 | 133 |
al@18741 | 134 # V4.3 |
al@18741 | 135 chroot "$1/" xmlcatalog --noout --add "public" \ |
al@18741 | 136 "-//OASIS//DTD DocBook XML V4.3//EN" \ |
al@18741 | 137 "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" \ |
al@18741 | 138 "/etc/xml/docbook-xml" |
al@18741 | 139 chroot "$1/" xmlcatalog --noout --add "public" \ |
al@18741 | 140 "-//OASIS//DTD DocBook CALS Table Model V4.3//EN" \ |
al@18741 | 141 "http://www.oasis-open.org/docbook/xml/4.3/calstblx.dtd" \ |
al@18741 | 142 "/etc/xml/docbook-xml" |
al@18741 | 143 chroot "$1/" xmlcatalog --noout --add "public" \ |
al@18741 | 144 "-//OASIS//DTD XML Exchange Table Model 19990315//EN" \ |
al@18741 | 145 "http://www.oasis-open.org/docbook/xml/4.3/soextblx.dtd" \ |
al@18741 | 146 "/etc/xml/docbook-xml" |
al@18741 | 147 chroot "$1/" xmlcatalog --noout --add "public" \ |
al@18741 | 148 "-//OASIS//ELEMENTS DocBook Information Pool V4.3//EN" \ |
al@18741 | 149 "http://www.oasis-open.org/docbook/xml/4.3/dbpoolx.mod" \ |
al@18741 | 150 "/etc/xml/docbook-xml" |
al@18741 | 151 chroot "$1/" xmlcatalog --noout --add "public" \ |
al@18741 | 152 "-//OASIS//ELEMENTS DocBook Document Hierarchy V4.3//EN" \ |
al@18741 | 153 "http://www.oasis-open.org/docbook/xml/4.3/dbhierx.mod" \ |
al@18741 | 154 "/etc/xml/docbook-xml" |
al@18741 | 155 chroot "$1/" xmlcatalog --noout --add "public" \ |
al@18741 | 156 "-//OASIS//ENTITIES DocBook Additional General Entities V4.3//EN" \ |
al@18741 | 157 "http://www.oasis-open.org/docbook/xml/4.3/dbgenent.mod" \ |
al@18741 | 158 "/etc/xml/docbook-xml" |
al@18741 | 159 chroot "$1/" xmlcatalog --noout --add "public" \ |
al@18741 | 160 "-//OASIS//ENTITIES DocBook Notations V4.3//EN" \ |
al@18741 | 161 "http://www.oasis-open.org/docbook/xml/4.3/dbnotnx.mod" \ |
al@18741 | 162 "/etc/xml/docbook-xml" |
al@18741 | 163 chroot "$1/" xmlcatalog --noout --add "public" \ |
al@18741 | 164 "-//OASIS//ENTITIES DocBook Character Entities V4.3//EN" \ |
al@18741 | 165 "http://www.oasis-open.org/docbook/xml/4.3/dbcentx.mod" \ |
al@18741 | 166 "/etc/xml/docbook-xml" |
al@18741 | 167 chroot "$1/" xmlcatalog --noout --add "rewriteSystem" \ |
al@18741 | 168 "http://www.oasis-open.org/docbook/xml/4.3" \ |
al@18741 | 169 "file:///usr/share/xml/docbook/xml-dtd-4.3" \ |
al@18741 | 170 "/etc/xml/docbook-xml" |
al@18741 | 171 chroot "$1/" xmlcatalog --noout --add "rewriteURI" \ |
al@18741 | 172 "http://www.oasis-open.org/docbook/xml/4.3" \ |
al@18741 | 173 "file:///usr/share/xml/docbook/xml-dtd-4.3" \ |
al@18741 | 174 "/etc/xml/docbook-xml" |
slaxemulator@9352 | 175 |
al@18741 | 176 # V4.4 |
al@18741 | 177 chroot "$1/" xmlcatalog --noout --add "public" \ |
al@18741 | 178 "-//OASIS//DTD DocBook XML V4.4//EN" \ |
al@18741 | 179 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" \ |
al@18741 | 180 "/etc/xml/docbook-xml" |
al@18741 | 181 chroot "$1/" xmlcatalog --noout --add "public" \ |
al@18741 | 182 "-//OASIS//DTD DocBook CALS Table Model V4.4//EN" \ |
al@18741 | 183 "http://www.oasis-open.org/docbook/xml/4.4/calstblx.dtd" \ |
al@18741 | 184 "/etc/xml/docbook-xml" |
al@18741 | 185 chroot "$1/" xmlcatalog --noout --add "public" \ |
al@18741 | 186 "-//OASIS//ELEMENTS DocBook XML HTML Tables V4.4//EN" \ |
al@18741 | 187 "http://www.oasis-open.org/docbook/xml/4.4/htmltblx.mod" \ |
al@18741 | 188 "/etc/xml/docbook-xml" |
al@18741 | 189 chroot "$1/" xmlcatalog --noout --add "public" \ |
al@18741 | 190 "-//OASIS//DTD XML Exchange Table Model 19990315//EN" \ |
al@18741 | 191 "http://www.oasis-open.org/docbook/xml/4.4/soextblx.dtd" \ |
al@18741 | 192 "/etc/xml/docbook-xml" |
al@18741 | 193 chroot "$1/" xmlcatalog --noout --add "public" \ |
al@18741 | 194 "-//OASIS//ELEMENTS DocBook Information Pool V4.4//EN" \ |
al@18741 | 195 "http://www.oasis-open.org/docbook/xml/4.4/dbpoolx.mod" \ |
al@18741 | 196 "/etc/xml/docbook-xml" |
al@18741 | 197 chroot "$1/" xmlcatalog --noout --add "public" \ |
al@18741 | 198 "-//OASIS//ELEMENTS DocBook Document Hierarchy V4.4//EN" \ |
al@18741 | 199 "http://www.oasis-open.org/docbook/xml/4.4/dbhierx.mod" \ |
al@18741 | 200 "/etc/xml/docbook-xml" |
al@18741 | 201 chroot "$1/" xmlcatalog --noout --add "public" \ |
al@18741 | 202 "-//OASIS//ENTITIES DocBook Additional General Entities V4.4//EN" \ |
al@18741 | 203 "http://www.oasis-open.org/docbook/xml/4.4/dbgenent.mod" \ |
al@18741 | 204 "/etc/xml/docbook-xml" |
al@18741 | 205 chroot "$1/" xmlcatalog --noout --add "public" \ |
al@18741 | 206 "-//OASIS//ENTITIES DocBook Notations V4.4//EN" \ |
al@18741 | 207 "http://www.oasis-open.org/docbook/xml/4.4/dbnotnx.mod" \ |
al@18741 | 208 "/etc/xml/docbook-xml" |
al@18741 | 209 chroot "$1/" xmlcatalog --noout --add "public" \ |
al@18741 | 210 "-//OASIS//ENTITIES DocBook Character Entities V4.4//EN" \ |
al@18741 | 211 "http://www.oasis-open.org/docbook/xml/4.4/dbcentx.mod" \ |
al@18741 | 212 "/etc/xml/docbook-xml" |
al@18741 | 213 chroot "$1/" xmlcatalog --noout --add "rewriteSystem" \ |
al@18741 | 214 "http://www.oasis-open.org/docbook/xml/4.4" \ |
al@18741 | 215 "file:///usr/share/xml/docbook/xml-dtd-4.4" \ |
al@18741 | 216 "/etc/xml/docbook-xml" |
al@18741 | 217 chroot "$1/" xmlcatalog --noout --add "rewriteURI" \ |
al@18741 | 218 "http://www.oasis-open.org/docbook/xml/4.4" \ |
al@18741 | 219 "file:///usr/share/xml/docbook/xml-dtd-4.4" \ |
al@18741 | 220 "/etc/xml/docbook-xml" |
slaxemulator@9352 | 221 |
al@18741 | 222 # V4.5 |
al@18741 | 223 chroot "$1/" xmlcatalog --noout --add "public" \ |
al@18741 | 224 "-//OASIS//DTD DocBook XML V4.5//EN" \ |
al@18741 | 225 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" \ |
al@18741 | 226 "/etc/xml/docbook-xml" |
al@18741 | 227 chroot "$1/" xmlcatalog --noout --add "public" \ |
al@18741 | 228 "-//OASIS//DTD DocBook XML CALS Table Model V4.5//EN" \ |
al@18741 | 229 "file:///usr/share/xml/docbook/xml-dtd-4.5/calstblx.dtd" \ |
al@18741 | 230 "/etc/xml/docbook-xml" |
al@18741 | 231 chroot "$1/" xmlcatalog --noout --add "public" \ |
al@18741 | 232 "-//OASIS//DTD XML Exchange Table Model 19990315//EN" \ |
al@18741 | 233 "file:///usr/share/xml/docbook/xml-dtd-4.5/soextblx.dtd" \ |
al@18741 | 234 "/etc/xml/docbook-xml" |
al@18741 | 235 chroot "$1/" xmlcatalog --noout --add "public" \ |
al@18741 | 236 "-//OASIS//ELEMENTS DocBook XML Information Pool V4.5//EN" \ |
al@18741 | 237 "file:///usr/share/xml/docbook/xml-dtd-4.5/dbpoolx.mod" \ |
al@18741 | 238 "/etc/xml/docbook-xml" |
al@18741 | 239 chroot "$1/" xmlcatalog --noout --add "public" \ |
al@18741 | 240 "-//OASIS//ELEMENTS DocBook XML Document Hierarchy V4.5//EN" \ |
al@18741 | 241 "file:///usr/share/xml/docbook/xml-dtd-4.5/dbhierx.mod" \ |
al@18741 | 242 "/etc/xml/docbook-xml" |
al@18741 | 243 chroot "$1/" xmlcatalog --noout --add "public" \ |
al@18741 | 244 "-//OASIS//ELEMENTS DocBook XML HTML Tables V4.5//EN" \ |
al@18741 | 245 "file:///usr/share/xml/docbook/xml-dtd-4.5/htmltblx.mod" \ |
al@18741 | 246 "/etc/xml/docbook-xml" |
al@18741 | 247 chroot "$1/" xmlcatalog --noout --add "public" \ |
al@18741 | 248 "-//OASIS//ENTITIES DocBook XML Notations V4.5//EN" \ |
al@18741 | 249 "file:///usr/share/xml/docbook/xml-dtd-4.5/dbnotnx.mod" \ |
al@18741 | 250 "/etc/xml/docbook-xml" |
al@18741 | 251 chroot "$1/" xmlcatalog --noout --add "public" \ |
al@18741 | 252 "-//OASIS//ENTITIES DocBook XML Character Entities V4.5//EN" \ |
al@18741 | 253 "file:///usr/share/xml/docbook/xml-dtd-4.5/dbcentx.mod" \ |
al@18741 | 254 "/etc/xml/docbook-xml" |
al@18741 | 255 chroot "$1/" xmlcatalog --noout --add "public" \ |
al@18741 | 256 "-//OASIS//ENTITIES DocBook XML Additional General Entities V4.5//EN" \ |
al@18741 | 257 "file:///usr/share/xml/docbook/xml-dtd-4.5/dbgenent.mod" \ |
al@18741 | 258 "/etc/xml/docbook-xml" |
al@18741 | 259 chroot "$1/" xmlcatalog --noout --add "rewriteSystem" \ |
al@18741 | 260 "http://www.oasis-open.org/docbook/xml/4.5" \ |
al@18741 | 261 "file:///usr/share/xml/docbook/xml-dtd-4.5" \ |
al@18741 | 262 "/etc/xml/docbook-xml" |
al@18741 | 263 chroot "$1/" xmlcatalog --noout --add "rewriteURI" \ |
al@18741 | 264 "http://www.oasis-open.org/docbook/xml/4.5" \ |
al@18741 | 265 "file:///usr/share/xml/docbook/xml-dtd-4.5" \ |
al@18741 | 266 "/etc/xml/docbook-xml" |
al@18741 | 267 |
al@18741 | 268 if [ -f "$1/etc/xml/catalog" ]; then |
al@18741 | 269 chroot "$1/" xmlcatalog --noout /etc/xml/catalog |
al@18741 | 270 else |
al@18741 | 271 chroot "$1/" xmlcatalog --noout --create /etc/xml/catalog |
al@18741 | 272 fi |
al@18741 | 273 |
al@18741 | 274 chroot "$1/" xmlcatalog --noout --add "delegatePublic" \ |
al@18741 | 275 "-//OASIS//ENTITIES DocBook XML" \ |
al@18741 | 276 "file:///etc/xml/docbook-xml" \ |
al@18741 | 277 "/etc/xml/catalog" |
al@18741 | 278 chroot "$1/" xmlcatalog --noout --add "delegatePublic" \ |
al@18741 | 279 "-//OASIS//DTD DocBook XML" \ |
al@18741 | 280 "file:///etc/xml/docbook-xml" \ |
al@18741 | 281 "/etc/xml/catalog" |
al@18741 | 282 chroot "$1/" xmlcatalog --noout --add "delegateSystem" \ |
al@18741 | 283 "http://www.oasis-open.org/docbook/" \ |
al@18741 | 284 "file:///etc/xml/docbook-xml" \ |
al@18741 | 285 "/etc/xml/catalog" |
al@18741 | 286 chroot "$1/" xmlcatalog --noout --add "delegateURI" \ |
al@18741 | 287 "http://www.oasis-open.org/docbook/" \ |
al@18741 | 288 "file:///etc/xml/docbook-xml" \ |
al@18741 | 289 "/etc/xml/catalog" |
al@18741 | 290 if [ -n "$1" ]; then |
pascal@18730 | 291 mv -f "$1/etc/resolv.conf.$$" "$1/etc/recolv.conf" 2> /dev/null |
pascal@18730 | 292 fi |
slaxemulator@6983 | 293 } |
slaxemulator@6983 | 294 |
al@18741 | 295 post_remove() |
slaxemulator@9352 | 296 { |
pascal@18730 | 297 xmlcatalog --noout --del file:///etc/xml/docbook-xml "$1/etc/xml/catalog" |
slaxemulator@9352 | 298 } |