package.py 324 B

123456789101112
  1. #/usr/bin/python
  2. import os
  3. def postInstall(fromVersion, fromRelease, toVersion, toRelease):
  4. if os.path.exists("/usr/sbin/iconvconfig"):
  5. # Generate fastloading iconv module configuration file.
  6. os.popen("/usr/sbin/iconvconfig --prefix=/")
  7. # Reload init ...
  8. os.popen("/sbin/init U &> /dev/null")