This commit is contained in:
Ertuğrul Erata
2015-05-17 20:03:20 +03:00
parent 176567ccd2
commit 41b4c09fe5
48 changed files with 3569 additions and 113 deletions
@@ -0,0 +1,25 @@
#!/usr/bin/python
import os
import shutil
def postInstall(fromVersion, fromRelease, toVersion, toRelease):
os.system("/usr/bin/install-catalog --add \
/etc/sgml/sgml-ent.cat \
/usr/share/sgml/sgml-iso-entities-8879.1986/catalog")
os.system("/usr/bin/install-catalog --add \
/etc/sgml/sgml-docbook.cat \
/etc/sgml/sgml-ent.cat")
def postRemove():
os.system("/usr/bin/install-catalog --remove \
/etc/sgml/sgml-ent.cat \
/usr/share/sgml/sgml-iso-entities-8879.1986/catalog")
os.system("/usr/bin/install-catalog --remove \
/etc/sgml/sgml-docbook.cat \
/etc/sgml/sgml-ent.cat")