Tier 2 part 1

This commit is contained in:
Ertuğrul Erata
2015-07-24 22:40:54 +03:00
parent 4a9cb8f8be
commit 7955f769d9
16 changed files with 451 additions and 82 deletions
@@ -0,0 +1,15 @@
#!/usr/bin/python
import os
def postInstall(fromVersion, fromRelease, toVersion, toRelease):
os.system("/usr/bin/install-catalog --add /etc/sgml/sgml-docbook-4.5.cat \
/usr/share/sgml/docbook/sgml-dtd-4.5/catalog")
os.system("/usr/bin/install-catalog --add /etc/sgml/sgml-docbook-4.5.cat \
/etc/sgml/sgml-docbook.cat")
def preRemove():
os.system("/usr/bin/install-catalog --remove /etc/sgml/sgml-docbook-4.5.cat \
/usr/share/sgml/docbook/sgml-dtd-4.5/catalog")
os.system("/usr/bin/install-catalog --remove /etc/sgml/sgml-docbook-4.5.cat \
/etc/sgml/sgml-docbook.cat")