mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 12:57:14 +08:00
56e88fe477
update nouveau
16 lines
753 B
Plaintext
16 lines
753 B
Plaintext
post_install() {
|
|
if [ ! -e etc/xml/catalog ]; then
|
|
xmlcatalog --noout --create etc/xml/catalog
|
|
fi
|
|
|
|
xmlcatalog --noout --add public "-//W3C//DTD MathML 2.0//EN" "file:///usr/share/xml/w3c/mathml2/mathml2.dtd" etc/xml/catalog
|
|
xmlcatalog --noout --add public "-//W3C//DTD MathML//EN" "file:///usr/share/xml/w3c/mathml2/mathml2.dtd" etc/xml/catalog
|
|
xmlcatalog --noout --add system "http://www.w3.org/TR/MathML2/dtd/mathml2.dtd" "file:///usr/share/xml/w3c/mathml2/mathml2.dtd" etc/xml/catalog
|
|
}
|
|
|
|
post_remove() {
|
|
xmlcatalog --noout --del "-//W3C//DTD MathML 2.0//EN" etc/xml/catalog
|
|
xmlcatalog --noout --del "-//W3C//DTD MathML//EN" etc/xml/catalog
|
|
xmlcatalog --noout --del "http://www.w3.org/TR/MathML2/dtd/mathml2.dtd" etc/xml/catalog
|
|
}
|