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