package.py 358 B

1234567891011
  1. #!/usr/bin/python
  2. import os
  3. def postInstall(fromVersion, fromRelease, toVersion, toRelease):
  4. os.system("xmlcatalog --noout --add \
  5. \"system\" \"http://glade.gnome.org/glade-2.0.dtd\" /usr/share/xml/libglade/glade-2.0.dtd")
  6. def preRemove():
  7. os.system("xmlcatalog --noout --del /usr/share/xml/libglade/glade-2.0.dtd /etc/xml/catalog")